http://bugs.winehq.org/show_bug.cgi?id=7385
--- Comment #18 from Jörg Höhle hoehle@users.sourceforge.net 2009-02-03 07:27:24 --- Created an attachment (id=19222) --> (http://bugs.winehq.org/attachment.cgi?id=19222) structure dump from within windbg
I'd like to know the format of the source chunk, the format of the destination chunk and the size of the source and destination chunks
I added TRACE("sl=%ld, dL=%ld; sft=%04x dft=%04x\n",(long)nsrc,(long)ndst,(int)adsi->pwfxSrc->wFormatTag,(int)adsi->pwfxDst->wFormatTag); producing trace:adpcm:ADPCM_StreamConvert sl=16384, dL=65152; sft=0002 dft=0001
Attached is a little more data from the debugger.
the src and dst variables passed to cvtSSms16K are both set to ""
C's lack of 8-bit binary type causes garbage output. Looking closely, the memory content 04 10 00 is printed as "^D^P" and in some terminals prints "" while copy&paste reveals the ^D^P. Compiling with -O0 eventually reveals *src data > 6, explaining the assertion violation.