mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
mp3dec: Dont spam the user on multiple mp3 frames.
This commit is contained in:
parent
8ba987bff3
commit
54e1eaef67
@ -1809,7 +1809,7 @@ static int decode_frame(AVCodecContext * avctx,
|
|||||||
av_log(avctx, AV_LOG_ERROR, "incomplete frame\n");
|
av_log(avctx, AV_LOG_ERROR, "incomplete frame\n");
|
||||||
return -1;
|
return -1;
|
||||||
}else if(s->frame_size < buf_size){
|
}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;
|
buf_size= s->frame_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user