Browse code

h264: fix use of uninitialized variable

Fixed CID968588

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit fc86f88b32a288b252a088ee3c77b4f6219d54d5)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2013/01/21 03:50:33
Showing 1 changed files
... ...
@@ -772,8 +772,8 @@ int ff_h264_decode_ref_pic_marking(H264Context *h, GetBitContext *gb,
772 772
                (mmco_index != h->mmco_index ||
773 773
                 (i = check_opcodes(h->mmco, mmco_temp, mmco_index)))) {
774 774
         av_log(h->s.avctx, AV_LOG_ERROR,
775
-               "Inconsistent MMCO state between slices [%d, %d, %d]\n",
776
-               mmco_index, h->mmco_index, i);
775
+               "Inconsistent MMCO state between slices [%d, %d]\n",
776
+               mmco_index, h->mmco_index);
777 777
         return AVERROR_INVALIDDATA;
778 778
     }
779 779