h264: fix slice_type value reported in decode_slice_header()

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
This commit is contained in:
Luca Barbato 2014-02-18 23:47:32 +01:00 committed by Vittorio Giovara
parent 2f2b2efd31
commit 96f9fbe109

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