mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
mpegaudiodec: don't print an error on > 1 frame in a packet.
It's a perfectly normal situation, nothing to spam about.
This commit is contained in:
parent
5702c8670e
commit
927e92cdc7
@ -1663,7 +1663,6 @@ static int decode_frame(AVCodecContext * avctx, void *data, int *got_frame_ptr,
|
||||
av_log(avctx, AV_LOG_ERROR, "incomplete frame\n");
|
||||
return AVERROR_INVALIDDATA;
|
||||
} else if (s->frame_size < buf_size) {
|
||||
av_log(avctx, AV_LOG_ERROR, "incorrect frame size\n");
|
||||
buf_size= s->frame_size;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user