diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-09-25 13:39:04 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-10-21 12:33:15 -0400 |
commit | 180bf988bc524f4775dd4765f07816df324e808b (patch) | |
tree | 865086be42c9257bffe2153eb0437a963e20e48a /libavcodec/mpegaudiodec_float.c | |
parent | 53c8443ad2376a50c76e5d7c69435bd01b0abc42 (diff) | |
download | ffmpeg-180bf988bc524f4775dd4765f07816df324e808b.tar.gz |
mp3on4: create a separate flush function for MP3onMP4.
The correct decoder private context needs to be used.
This fixes mp3on4 playback and seeking in avplay.
Diffstat (limited to 'libavcodec/mpegaudiodec_float.c')
-rw-r--r-- | libavcodec/mpegaudiodec_float.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudiodec_float.c b/libavcodec/mpegaudiodec_float.c index 929d72738b..7f512500b3 100644 --- a/libavcodec/mpegaudiodec_float.c +++ b/libavcodec/mpegaudiodec_float.c @@ -83,7 +83,7 @@ AVCodec ff_mp3on4float_decoder = { .init = decode_init_mp3on4, .close = decode_close_mp3on4, .decode = decode_frame_mp3on4, - .flush = flush, + .flush = flush_mp3on4, .long_name = NULL_IF_CONFIG_SMALL("MP3onMP4"), }; #endif |