Module: libav
Branch: master
Commit: 96f9fbe10933944b3eba86efa1d1ca094f2c28f8

Author:    Luca Barbato <[email protected]>
Committer: Vittorio Giovara <[email protected]>
Date:      Tue Feb 18 23:47:32 2014 +0100

h264: fix slice_type value reported in decode_slice_header()

Signed-off-by: Vittorio Giovara <[email protected]>

---

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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to