WINMM: prevent division by zero in mciwave

Alex Villací­s Lasso a_villacis at
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.


* Prevent division-by-zero exception on codecs that do not report 

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 :

More information about the wine-patches mailing list