Merge pull request #11240 from hpvb/fix-array-oob

Fix out of bound array indexing (reverb_vol)
This commit is contained in:
Hein-Pieter van Braam 2017-09-13 17:50:10 +02:00 committed by GitHub
commit 322b0bee49
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ private:
float pitch_scale; float pitch_scale;
int bus_index; int bus_index;
int reverb_bus_index; int reverb_bus_index;
AudioFrame reverb_vol[3]; AudioFrame reverb_vol[4];
Viewport *viewport; //pointer only used for reference to previous mix Viewport *viewport; //pointer only used for reference to previous mix
Output() { Output() {