The attached patch applied to the file src/d_soundfile.c seems to fix the problem. This is actually how it is in the original source by Miller.

Lorenzo.
329c329
<             bytelimit = swap4(wavechunk->wc_size, swap);
---
>             bytelimit = swap4(((t_wavechunk *)buf)->wc_size, swap);

Reply via email to