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 <michaelni@gmx.at>2012-05-23 20:37:55 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-05-23 21:04:23 +0400
commit3cb83b225ef1f123cc10c42bb2dc4b665aace320 (patch)
treeb03d2a3eda01baf387ddecd2d1904a416bd1b36e /libavcodec/xsubdec.c
parent121d3875b692c83866928e271c4b6d20d680d1a6 (diff)
xsubdec: print frame size when too small
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/xsubdec.c')
-rw-r--r--libavcodec/xsubdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xsubdec.c b/libavcodec/xsubdec.c
index 5e0e59faa4..7169486cd0 100644
--- a/libavcodec/xsubdec.c
+++ b/libavcodec/xsubdec.c
@@ -60,7 +60,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
// check that at least header fits
if (buf_size < 27 + 7 * 2 + 4 * 3) {
- av_log(avctx, AV_LOG_ERROR, "coded frame too small\n");
+ av_log(avctx, AV_LOG_ERROR, "coded frame size %d too small\n", buf_size);
return -1;
}