summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-02-18 23:47:32 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-02-18 23:47:32 +0100
commit96f9fbe10933944b3eba86efa1d1ca094f2c28f8 (patch)
tree2abe84d7b3a788f8a516f8344d4b3903f4d9e018 /libavcodec/h264.c
parent2f2b2efd31f6af997812a70de22b6d717fb41d4e (diff)
h264: fix slice_type value reported in decode_slice_header()
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 421e12a2b3..3f99109abf 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) {