[FFmpeg-cvslog] avcodec/movtextdec: Add error message for tsmb_size check
Michael Niedermayer
git at videolan.org
Tue Nov 15 16:09:00 EET 2016
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Nov 15 14:54:47 2016 +0100| [0eb319800567b79ca6b4cf0d90904318641b9e50] | committer: Michael Niedermayer
avcodec/movtextdec: Add error message for tsmb_size check
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0eb319800567b79ca6b4cf0d90904318641b9e50
---
libavcodec/movtextdec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c
index 0618f37..7b5b161 100644
--- a/libavcodec/movtextdec.c
+++ b/libavcodec/movtextdec.c
@@ -482,6 +482,7 @@ static int mov_text_decode_frame(AVCodecContext *avctx,
//size_var is equal to 8 or 16 depending on the size of box
if (tsmb_size == 0) {
+ av_log(avctx, AV_LOG_ERROR, "tsmb_size is 0\n");
return AVERROR_INVALIDDATA;
}
More information about the ffmpeg-cvslog
mailing list