Changelog: - Fixed wrong assert in PCM_round, which didn't allow to call acmStreamSize with a value of 0 to convert -- native allows it. License: X11 Michael Günnewig
Index: dlls/msacm/pcmconverter.c =================================================================== RCS file: /home/wine/wine/dlls/msacm/pcmconverter.c,v retrieving revision 1.15 diff -d -u -r1.15 pcmconverter.c --- dlls/msacm/pcmconverter.c 15 Dec 2002 01:12:03 -0000 1.15 +++ dlls/msacm/pcmconverter.c 19 Jul 2003 17:07:26 -0000 @@ -913,7 +913,7 @@ */ static inline DWORD PCM_round(DWORD a, DWORD b, DWORD c) { - assert(a && b && c); + assert(c); /* to be sure, always return an entire number of c... */ return ((double)a * (double)b + (double)c - 1) / (double)c; }