summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-07-31 15:44:00 +0200
committerAnton Khirnov <anton@khirnov.net>2012-08-08 07:53:48 +0200
commit927e92cdc7f442a526ba1266420181d4418c02f3 (patch)
tree1a935f75a94c218b6864de8ca290ebef7455371f /libavcodec/mpegaudiodec.c
parent5702c8670e3f3bcdacec918ff64326ccd7af7236 (diff)
mpegaudiodec: don't print an error on > 1 frame in a packet.
It's a perfectly normal situation, nothing to spam about.
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index c33b12a354..03094f6260 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -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;
}