diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-05 00:43:57 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-05 01:16:43 +0300 |
commit | e5774f28d15887d36da25ae1ef2f1b3d7a75f449 (patch) | |
tree | 00ebfac9c942ed5772926506c9bf848d4a8032a9 /libavcodec/dvbsubdec.c | |
parent | 2ae45816b2f38928f69b01736ce56298ff1cbcb6 (diff) |
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>
Diffstat (limited to 'libavcodec/dvbsubdec.c')
-rw-r--r-- | libavcodec/dvbsubdec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index 426418beab..ff835abe33 100644 --- a/libavcodec/dvbsubdec.c +++ b/libavcodec/dvbsubdec.c @@ -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; |