mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
mp3dec: Dont spam the user on multiple mp3 frames.
(cherry picked from commit 54e1eaef67)
This commit is contained in:
committed by
Michael Niedermayer
parent
61f55565fb
commit
f4e34d1614
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user