WINMM: prevent division by zero in mciwave
Alex Villacís Lasso
a_villacis at palosanto.com
Mon Feb 13 14:36:25 CST 2006
This was found while digging for the source of the mp3 jittering
problem. Both native L3CODECA.ACM and winemp3 trigger this
division-by-zero exception with ACMAPP.EXE demonstration program from
MSDN when using the Player! menu item with a MP3-encoded .WAV file
unless this patch is applied.
Changelog:
* Prevent division-by-zero exception on codecs that do not report
bits-per-sample.
Alex Villacís Lasso
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-winmm-mciwave-divzero_protect.patch
Type: text/x-patch
Size: 611 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060213/968f7b6a/wine-winmm-mciwave-divzero_protect.patch
More information about the wine-patches
mailing list