Commit 0eb31980 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/movtextdec: Add error message for tsmb_size check

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent a6099057
...@@ -482,6 +482,7 @@ static int mov_text_decode_frame(AVCodecContext *avctx, ...@@ -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 //size_var is equal to 8 or 16 depending on the size of box
if (tsmb_size == 0) { if (tsmb_size == 0) {
av_log(avctx, AV_LOG_ERROR, "tsmb_size is 0\n");
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment