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>2013-10-22 17:01:54 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-10-22 20:09:20 +0400
commit88c27193c7fde3eb3f3056643ff62a44354cb77a (patch)
tree084876d40bd5e803694b23f820dd5aeecff94da7 /libavcodec/vcr1.c
parent77ef538818678fd8bcdf37b77923d52543b750f0 (diff)
avcodec/vcr1: print the actual size when its insufficient
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vcr1.c')
-rw-r--r--libavcodec/vcr1.c2
1 files changed, 1 insertions, 1 deletions
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);
}