Commit 96f9fbe1 authored by Luca Barbato's avatar Luca Barbato Committed by Vittorio Giovara

h264: fix slice_type value reported in decode_slice_header()

Signed-off-by: 's avatarVittorio Giovara <vittorio.giovara@gmail.com>
parent 2f2b2efd
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment