]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Flush mp2 as well on seeking. Part of a patch by Brian Brice bbrice gmail com.
authormichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 11 Jan 2008 18:18:45 +0000 (18:18 +0000)
committermichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 11 Jan 2008 18:18:45 +0000 (18:18 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11506 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/mpegaudiodec.c

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