From 88c27193c7fde3eb3f3056643ff62a44354cb77a Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 22 Oct 2013 15:01:54 +0200 Subject: [PATCH] avcodec/vcr1: print the actual size when its insufficient Signed-off-by: Michael Niedermayer --- libavcodec/vcr1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vcr1.c b/libavcodec/vcr1.c index 7cb740508f..f8281ea05a 100644 --- a/libavcodec/vcr1.c +++ b/libavcodec/vcr1.c @@ -56,7 +56,7 @@ static int vcr1_decode_frame(AVCodecContext *avctx, void *data, int i, x, y, ret; if(avpkt->size < 32 + avctx->height + avctx->width*avctx->height*5/8){ - av_log(avctx, AV_LOG_ERROR, "Insufficient input data.\n"); + av_log(avctx, AV_LOG_ERROR, "Insufficient input data. %d < %d\n", avpkt->size , 32 + avctx->height + avctx->width*avctx->height*5/8); return AVERROR(EINVAL); }