Commit 5bfbfdf4 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Fix valgrind warning

This commit adds initialization for tmp_rd_stats, to resolve valgrind
warning of "Conditional jump or move depends on uninitialised value"

Change-Id: I79ed3bc046a66457c27185782645938d223872ba
parent 0eda2705
......@@ -9203,6 +9203,8 @@ void av1_rd_pick_inter_mode_sb(const AV1_COMP *cpi, TileDataEnc *tile_data,
int_mv cur_mv;
RD_STATS tmp_rd_stats, tmp_rd_stats_y, tmp_rd_stats_uv;
mbmi->ref_mv_idx = 1 + ref_idx;
for (ref = 0; ref < 1 + comp_pred; ++ref) {
Markdown is supported
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