another segfault and heap overflow when recieving audio fixed