Commit c05a4aa7 authored by Hui Su's avatar Hui Su
Browse files

Fix valgrind error in av1_rd_pick_inter_mode_sb()

Initialize the RD_STATS variable to avoid valgrind error of
"Conditional jump or move depends on uninitialised value(s)".


Change-Id: Ie7749c8297b377750f0901d07e2c6024552a10df
parent fc321aac
......@@ -9110,7 +9110,7 @@ void av1_rd_pick_inter_mode_sb(const AV1_COMP *cpi, TileDataEnc *tile_data,
rd_cost->rate = INT_MAX;
for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) {
x->pred_mv_sad[ref_frame] = INT_MAX;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment