git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8009a1f
)
avcodec/dvbsubdec: Print field lens in case they are too lerge
author
Michael Niedermayer
<michael@niedermayer.cc>
Wed, 12 Aug 2015 23:50:08 +0000
(
01:50
+0200)
committer
Michael Niedermayer
<michael@niedermayer.cc>
Wed, 12 Aug 2015 23:50:08 +0000
(
01:50
+0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dvbsubdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/dvbsubdec.c
b/libavcodec/dvbsubdec.c
index
21ef43f
..
ec7c146
100644
(file)
--- a/
libavcodec/dvbsubdec.c
+++ b/
libavcodec/dvbsubdec.c
@@
-1090,7
+1090,7
@@
static int dvbsub_parse_object_segment(AVCodecContext *avctx,
buf += 2;
if (buf + top_field_len + bottom_field_len > buf_end) {
buf += 2;
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;
}