avcodec/hevc_mvs: dont redundantly initialize ref_idx_curr
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 15 Aug 2014 22:47:45 +0000 (00:47 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 16 Aug 2014 13:58:40 +0000 (15:58 +0200)
Reviewed-by: James Darnley <james.darnley@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hevc_mvs.c

index fffae88..3bc982b 100644 (file)
@@ -607,7 +607,7 @@ void ff_hevc_luma_mv_mvp_mode(HEVCContext *s, int x0, int y0, int nPbW,
     Mv mvpcand_list[2] = { { 0 } };
     Mv mxA;
     Mv mxB;
-    int ref_idx_curr = 0;
+    int ref_idx_curr;
     int ref_idx = 0;
     int pred_flag_index_l0;
     int pred_flag_index_l1;