diff --git a/libavcodec/mpegaudio_parser.c b/libavcodec/mpegaudio_parser.c index afa297551c..5f97d711c6 100644 --- a/libavcodec/mpegaudio_parser.c +++ b/libavcodec/mpegaudio_parser.c @@ -54,6 +54,7 @@ static int mpegaudio_parse(AVCodecParserContext *s1, int inc= FFMIN(buf_size - i, s->frame_size); i += inc; s->frame_size -= inc; + state = 0; if(!s->frame_size){ next= i;