This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Fix for array size in AudioFormatReader when reading files with > 64 channels.
tags/2021-05-28
jules
10 years ago
parent
063ec9c0d1
commit
336c46b5a9
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
modules/juce_audio_formats/format/juce_AudioFormatReader.cpp
+ 1
- 1
modules/juce_audio_formats/format/juce_AudioFormatReader.cpp
View File
@@ -163,7 +163,7 @@ void AudioFormatReader::read (AudioSampleBuffer* buffer,
}
}
else
else
{
{
HeapBlock<int*> chans ((size_t) numTargetChannels);
HeapBlock<int*> chans ((size_t) numTargetChannels
+ 1
);
readChannels (*this, chans, buffer, startSample, numSamples, readerStartSample, numTargetChannels);
readChannels (*this, chans, buffer, startSample, numSamples, readerStartSample, numTargetChannels);
}
}
Write
Preview
Loading…
Cancel
Save