Flush mp2 as well on seeking. Part of a patch by Brian Brice bbrice gmail com.
authorBrian Brice <bbrice@gmail.com>
Fri, 11 Jan 2008 18:18:45 +0000 (18:18 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 11 Jan 2008 18:18:45 +0000 (18:18 +0000)
Originally committed as revision 11506 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegaudiodec.c

index 83ee255..f7e8405 100644 (file)
@@ -2642,6 +2642,7 @@ AVCodec mp2_decoder =
     NULL,
     decode_frame,
     CODEC_CAP_PARSE_ONLY,
+    .flush= flush,
 };
 #endif
 #ifdef CONFIG_MP3_DECODER