You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02: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:
committed by
Vittorio Giovara
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) {
|
||||
|
Reference in New Issue
Block a user