avcodec/mpegaudiodec: Reset dither and mdct state
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 5 Jun 2014 19:23:31 +0000 (21:23 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 5 Jun 2014 19:25:51 +0000 (21:25 +0200)
commitbd650ee318872f9712b496bdba532fed40a0108a
treeb2a27e91a6d976cae07d152dd221eca77ff645fa
parentccff45a0d3c981edc97078885e2a630e0436ce31
avcodec/mpegaudiodec: Reset dither and mdct state

This makes the mp3 decoder produce the same result when repeatly flushing and decoding

Suggested-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpegaudiodec_template.c