On 08/05/2012 04:26 AM, Anton Khirnov wrote:
> It's a perfectly normal situation, nothing to spam about.
> ---
>  libavcodec/mpegaudiodec.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
> index 6c1e8af..f388d8b 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;
>      }
>  

That's fine I guess. The user will still get a warning from lavc about
multiple frames per packet.

-Justin

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to