Commit e5774f28 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dvbsubdec: Do not stop decoding at a invalid depth

This corrects parsing the later elements

Fixes Ticket4754
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 2ae45816
......@@ -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;
......
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