Merge pull request #11240 from hpvb/fix-array-oob
Fix out of bound array indexing (reverb_vol)
This commit is contained in:
commit
322b0bee49
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue