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