From 97bb456b6b787bb36e2785072e604ba0db9a43df Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 16 Aug 2014 00:47:45 +0200 Subject: [PATCH] avcodec/hevc_mvs: dont redundantly initialize ref_idx_curr Reviewed-by: James Darnley Signed-off-by: Michael Niedermayer --- libavcodec/hevc_mvs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hevc_mvs.c b/libavcodec/hevc_mvs.c index fffae8882e..3bc982b8ad 100644 --- a/libavcodec/hevc_mvs.c +++ b/libavcodec/hevc_mvs.c @@ -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;