diff options
-rw-r--r-- | video/bink_decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/bink_decoder.cpp b/video/bink_decoder.cpp index 5ed4011b61..e8d7adfd2f 100644 --- a/video/bink_decoder.cpp +++ b/video/bink_decoder.cpp @@ -243,7 +243,7 @@ void BinkDecoder::audioPacket(AudioTrack &audio) { int outSize = audio.frameLen * audio.channels; while (audio.bits->pos() < audio.bits->size()) { - int16 *out = new int16[outSize]; + int16 *out = (int16 *)malloc(outSize * 2); memset(out, 0, outSize * 2); audioBlock(audio, out); |