summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Brice <bbrice@gmail.com>2008-01-11 18:18:45 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-01-11 18:18:45 +0000
commit4a69055bad5d05c11881349cc889508a723a0b15 (patch)
treec2d05de22472c22986b3a9c67484c2aa67811088
parentcd4f256754f6d4edfd9dd2837462e631d5e849fc (diff)
Flush mp2 as well on seeking. Part of a patch by Brian Brice bbrice gmail com.
Originally committed as revision 11506 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/mpegaudiodec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 83ee255c7d..f7e840524a 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -2642,6 +2642,7 @@ AVCodec mp2_decoder =
NULL,
decode_frame,
CODEC_CAP_PARSE_ONLY,
+ .flush= flush,
};
#endif
#ifdef CONFIG_MP3_DECODER