MSACM: return failure rather than assert with nAvgBytesPerSec == 0

Alex Villací­s Lasso a_villacis at palosanto.com
Thu Jan 12 09:52:30 CST 2006


This check is necessary until local codec loading is in CVS. Failure 
scenario fixed is: app instructs to load local ACM codec, fails, doesn't 
notice failure, requests codec info, fails, again doesn't notice 
failure, submits zeroed structure to PCM converter --> assertion failed.

Changelog:
* Check for nAvgBytesPerSec == 0 in PCM converter instead of allowing 
assertion to fail.

Alex Villacís Lasso

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-msacm-02-pcmconverter_nAvgBytesPerSec_check.patch
Type: text/x-patch
Size: 1021 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060112/c84a9b22/wine-msacm-02-pcmconverter_nAvgBytesPerSec_check.patch


More information about the wine-patches mailing list