Use av_log_ask_for_sample() where appropriate.

This commit is contained in:
Diego Biurrun
2011-04-21 19:38:49 +02:00
parent 8d67218bd7
commit 70fb031ce2
4 changed files with 12 additions and 11 deletions

View File

@@ -52,7 +52,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
}
if(avpkt->size > avctx->width * avctx->height * 8 / 3){
av_log(avctx, AV_LOG_ERROR, "Probably padded data, need sample!\n");
av_log_ask_for_sample(avctx, "Probably padded data\n");
}
pic->reference= 0;