mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 18:49:58 +00:00
avcodec/vcr1: print the actual size when its insufficient
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
77ef538818
commit
88c27193c7
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user