Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-11-15 16:54:47 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-11-15 17:08:20 +0300
commit0eb319800567b79ca6b4cf0d90904318641b9e50 (patch)
tree29a36176456021d90acc8df9c8849950e12207a3 /libavcodec/movtextdec.c
parenta609905723c01e356d35146425c3d45c090aae7b (diff)
avcodec/movtextdec: Add error message for tsmb_size check
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/movtextdec.c')
-rw-r--r--libavcodec/movtextdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c
index 0618f375fc..7b5b161561 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;
}