ffmpeg | branch: master | Michael Niedermayer <mich...@niedermayer.cc> | Tue Aug 4 23:43:57 2015 +0200| [e5774f28d15887d36da25ae1ef2f1b3d7a75f449] | committer: Michael Niedermayer
avcodec/dvbsubdec: Do not stop decoding at a invalid depth This corrects parsing the later elements Fixes Ticket4754 Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e5774f28d15887d36da25ae1ef2f1b3d7a75f449 --- libavcodec/dvbsubdec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index 426418b..ff835ab 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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog