[FFmpeg-cvslog] avcodec/movtextdec: Add error message for tsmb_size check
Michael Niedermayer
git at videolan.org
Sat Nov 26 16:47:56 EET 2016
ffmpeg | branch: release/2.8 | Michael Niedermayer <michael at niedermayer.cc> | Tue Nov 15 14:54:47 2016 +0100| [ecc5bada26f262b77d157c1f557bc78978b9dbff] | committer: Michael Niedermayer
avcodec/movtextdec: Add error message for tsmb_size check
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit 0eb319800567b79ca6b4cf0d90904318641b9e50)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ecc5bada26f262b77d157c1f557bc78978b9dbff
---
libavcodec/movtextdec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c
index 127ac6b..cbaa6b2 100644
--- a/libavcodec/movtextdec.c
+++ b/libavcodec/movtextdec.c
@@ -487,6 +487,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