mpegaudiodec: don't print an error on > 1 frame in a packet.
authorAnton Khirnov <anton@khirnov.net>
Tue, 31 Jul 2012 13:44:00 +0000 (15:44 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 8 Aug 2012 05:53:48 +0000 (07:53 +0200)
It's a perfectly normal situation, nothing to spam about.

libavcodec/mpegaudiodec.c

index c33b12a..03094f6 100644 (file)
@@ -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;
     }