Commit f31d240d authored by Stefano Guidoni's avatar Stefano Guidoni Committed by Alexandre Julliard

winemp3: Fix incorrect stream handling.

parent 0539d5e4
...@@ -180,7 +180,8 @@ static void mp3_horse(PACMDRVSTREAMINSTANCE adsi, ...@@ -180,7 +180,8 @@ static void mp3_horse(PACMDRVSTREAMINSTANCE adsi,
TRACE("New format: %li Hz, %i channels, encoding value %i\n", rate, channels, enc); TRACE("New format: %li Hz, %i channels, encoding value %i\n", rate, channels, enc);
} }
dpos += size; dpos += size;
} while (ret == MPG123_OK); if (dpos > *ndst) break;
} while (ret != MPG123_ERR && ret != MPG123_NEED_MORE);
*ndst = dpos; *ndst = dpos;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment