From 3cb83b225ef1f123cc10c42bb2dc4b665aace320 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 23 May 2012 18:37:55 +0200 Subject: xsubdec: print frame size when too small Signed-off-by: Michael Niedermayer --- libavcodec/xsubdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3