diff options
author | Johns <johns98@gmx.net> | 2012-04-21 15:47:50 +0200 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-04-21 15:47:50 +0200 |
commit | 93ddd26a4a8983859a4f6f29979f0c5b1cce12ed (patch) | |
tree | cb615884d1d7e31862850c460027dd767669c0e6 /audio.c | |
parent | e30e1e5aad2e35f35af248167b8366a75f28234d (diff) | |
download | vdr-plugin-softhddevice-93ddd26a4a8983859a4f6f29979f0c5b1cce12ed.tar.gz vdr-plugin-softhddevice-93ddd26a4a8983859a4f6f29979f0c5b1cce12ed.tar.bz2 |
Fix bug: alloca wrong size for audio buffer.
Diffstat (limited to 'audio.c')
-rw-r--r-- | audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3561,7 +3561,7 @@ void AudioEnqueue(const void *samples, int count) frames = count / (AudioRing[AudioRingWrite].InChannels * AudioBytesProSample); buffer = - alloca(frames * AudioRing[AudioRingWrite].InChannels * + alloca(frames * AudioRing[AudioRingWrite].HwChannels * AudioBytesProSample); AudioResample(samples, AudioRing[AudioRingWrite].InChannels, frames, buffer, AudioRing[AudioRingWrite].HwChannels); |