mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
avcodec/dvbsubdec: Do not stop decoding at a invalid depth
This corrects parsing the later elements Fixes Ticket4754 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
2ae45816b2
commit
e5774f28d1
@ -1174,7 +1174,6 @@ static int dvbsub_parse_clut_segment(AVCodecContext *avctx,
|
||||
|
||||
if (depth == 0) {
|
||||
av_log(avctx, AV_LOG_ERROR, "Invalid clut depth 0x%x!\n", *buf);
|
||||
return 0;
|
||||
}
|
||||
|
||||
full_range = (*buf++) & 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user