[SCM] libav/experimental: h264: fix slice_type value reported in decode_slice_header()

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:01:24 UTC 2014


The following commit has been merged in the experimental branch:
commit 96f9fbe10933944b3eba86efa1d1ca094f2c28f8
Author: Luca Barbato <lu_zero at gentoo.org>
Date:   Tue Feb 18 23:47:32 2014 +0100

    h264: fix slice_type value reported in decode_slice_header()
    
    Signed-off-by: Vittorio Giovara <vittorio.giovara at gmail.com>

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 421e12a..3f99109 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -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) {

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list