[FFmpeg-cvslog] h264: fix slice_type value reported in decode_slice_header()

Luca Barbato git at videolan.org
Wed Feb 19 02:24:47 CET 2014


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Tue Feb 18 23:47:32 2014 +0100| [96f9fbe10933944b3eba86efa1d1ca094f2c28f8] | committer: Vittorio Giovara

h264: fix slice_type value reported in decode_slice_header()

Signed-off-by: Vittorio Giovara <vittorio.giovara at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=96f9fbe10933944b3eba86efa1d1ca094f2c28f8
---

 libavcodec/h264.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) {



More information about the ffmpeg-cvslog mailing list