mpegaudiodec: don't print an error on > 1 frame in a packet.

It's a perfectly normal situation, nothing to spam about.
pull/28/head
Anton Khirnov 12 years ago
parent 5702c8670e
commit 927e92cdc7
  1. 1
      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;
}

Loading…
Cancel
Save