Browse code

h264/ff_generate_sliding_window_mmcos: fix use of uninitialized variable

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

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

Michael Niedermayer authored on 2013/01/21 04:02:35
Showing 1 changed files
... ...
@@ -519,8 +519,8 @@ int ff_generate_sliding_window_mmcos(H264Context *h, int first_slice)
519 519
                (mmco_index != h->mmco_index ||
520 520
                 (i = check_opcodes(h->mmco, mmco_temp, mmco_index)))) {
521 521
         av_log(h->s.avctx, AV_LOG_ERROR,
522
-               "Inconsistent MMCO state between slices [%d, %d, %d]\n",
523
-               mmco_index, h->mmco_index, i);
522
+               "Inconsistent MMCO state between slices [%d, %d]\n",
523
+               mmco_index, h->mmco_index);
524 524
         return AVERROR_INVALIDDATA;
525 525
     }
526 526
     return 0;