Chris Robinson : winemp3: Clear stream buffers when the stream is reset.
Module: wine Branch: master Commit: 7d085d2cd4cd1d626944e8591232a328ae615773 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7d085d2cd4cd1d626944e85912... Author: Chris Robinson <chris.kcat(a)gmail.com> Date: Tue Mar 27 21:47:09 2007 -0700 winemp3: Clear stream buffers when the stream is reset. --- dlls/winemp3.acm/mpegl3.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/winemp3.acm/mpegl3.c b/dlls/winemp3.acm/mpegl3.c index 4c639e5..6d95a0b 100644 --- a/dlls/winemp3.acm/mpegl3.c +++ b/dlls/winemp3.acm/mpegl3.c @@ -374,6 +374,8 @@ static LRESULT MPEG3_FormatSuggest(PACMDRVFORMATSUGGEST adfs) */ static void MPEG3_Reset(PACMDRVSTREAMINSTANCE adsi, AcmMpeg3Data* aad) { + ExitMP3(&aad->mp); + InitMP3(&aad->mp); } /***********************************************************************
participants (1)
-
Alexandre Julliard