1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-30 16:42:13 +02:00

mp3dec: Dont spam the user on multiple mp3 frames.

This commit is contained in:
Chris Rankin 2011-09-08 21:04:26 +02:00 committed by Michael Niedermayer
parent 8ba987bff3
commit 54e1eaef67

View File

@ -1809,7 +1809,7 @@ static int decode_frame(AVCodecContext * avctx,
av_log(avctx, AV_LOG_ERROR, "incomplete frame\n");
return -1;
}else if(s->frame_size < buf_size){
av_log(avctx, AV_LOG_ERROR, "incorrect frame size\n");
av_log(avctx, AV_LOG_DEBUG, "incorrect frame size - multiple frames in buffer?\n");
buf_size= s->frame_size;
}