]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vcr1.c
avcodec/vcr1: print the actual size when its insufficient
[ffmpeg] / libavcodec / vcr1.c
index 7cb740508fd3f81e904d9df4bf69f35f99b2a7ac..f8281ea05a2bdd7ea907d4a28a8c0c12e3ed8aae 100644 (file)
@@ -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);
     }