|
ALMP3 Crash |
BAF
Member #2,981
December 2002
|
Any ideas why almp3 crashes (on the poll of the mp3, in the decode function)? Here is the relevant mp3 code:
and the not-so-helpful(tm) backtrace: songtest01.exe caused an Access Violation at location 77c46fa3 in module msvcrt.dll Reading from location 02480930. Registers: eax=02481030 ebx=003df6c8 ecx=000001c0 edx=00000000 esi=02480930 edi=003df7c0 eip=77c46fa3 esp=0022fcd0 ebp=0022fcd8 iopl=0 nv up ei pl nz ac po nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00200216 Call stack: 77C46FA3 msvcrt.dll:77C46FA3 memcpy 10005A67 almp3.dll:10005A67 decodeMP3 [EDIT] Duh, I shouldn't post so quickly. It turns out mp3data has to stick around, so I made it global in the class and now delete in the destructor. |
|