mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 12:40:01 +00:00
h264: fix slice_type value reported in decode_slice_header()
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
This commit is contained in:
parent
2f2b2efd31
commit
96f9fbe109
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user