Commit d21ab8e4 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dvbsubdec: Print field lens in case they are too lerge

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 8009a1f1
...@@ -1090,7 +1090,7 @@ static int dvbsub_parse_object_segment(AVCodecContext *avctx, ...@@ -1090,7 +1090,7 @@ static int dvbsub_parse_object_segment(AVCodecContext *avctx,
buf += 2; buf += 2;
if (buf + top_field_len + bottom_field_len > buf_end) { if (buf + top_field_len + bottom_field_len > buf_end) {
av_log(avctx, AV_LOG_ERROR, "Field data size too large\n"); av_log(avctx, AV_LOG_ERROR, "Field data size %d+%d too large\n", top_field_len, bottom_field_len);
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