forked from bartvdbraak/blender
0d71c0a9af
"data" is aligned differently in this wave file and the buffer was read past its allocated length. Fix this by searching for the buffer in increments of 2 (this finds the "data" for the wav file) added a check not to allow the search to go past the buffer length, so corrupt wave files should not crash. |
||
---|---|---|
.. | ||
Makefile | ||
SND_FmodDevice.cpp | ||
SND_FmodDevice.h |