Browse Source

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

Fix out of bound array indexing
Hein-Pieter van Braam 8 years ago
parent
commit
933ca6bb8a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/3d/audio_stream_player_3d.h

+ 1 - 1
scene/3d/audio_stream_player_3d.h

@@ -40,7 +40,7 @@ private:
 
 		AudioFilterSW filter;
 		AudioFilterSW::Processor filter_process[6];
-		AudioFrame vol[3];
+		AudioFrame vol[4];
 		float filter_gain;
 		float pitch_scale;
 		int bus_index;