OSDN Git Service

h264: fix slice_type value reported in decode_slice_header()
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 18 Feb 2014 22:47:32 +0000 (23:47 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 18 Feb 2014 22:47:32 +0000 (23:47 +0100)
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavcodec/h264.c

index 421e12a..3f99109 100644 (file)
@@ -3368,7 +3368,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0)
     if (slice_type > 9) {
         av_log(h->avctx, AV_LOG_ERROR,
                "slice type %d too large at %d %d\n",
-               h->slice_type, h->mb_x, h->mb_y);
+               slice_type, h->mb_x, h->mb_y);
         return AVERROR_INVALIDDATA;
     }
     if (slice_type > 4) {