diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 403d62e0b2..68ba451fa4 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -3269,7 +3269,7 @@ static void print_long_term(H264Context *h) { */ static int execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){ MpegEncContext * const s = &h->s; - int i, j; + int i, av_uninit(j); int current_ref_assigned=0; Picture *av_uninit(pic); @@ -3277,7 +3277,7 @@ static int execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){ av_log(h->s.avctx, AV_LOG_DEBUG, "no mmco here\n"); for(i=0; iavctx->debug&FF_DEBUG_MMCO) av_log(h->s.avctx, AV_LOG_DEBUG, "mmco:%d %d %d\n", h->mmco[i].opcode, h->mmco[i].short_pic_num, h->mmco[i].long_arg);