[Bf-blender-cvs] [20c5c5e] master: Audaspace: fixing a memory access violation in the audio device list.

Lukas Stockner noreply at git.blender.org
Tue Jul 28 17:41:07 CEST 2015


Commit: 20c5c5e14ba0820b106945331f07909a756ff2d3
Author: Lukas Stockner
Date:   Tue Jul 28 17:39:55 2015 +0200
Branches: master
https://developer.blender.org/rB20c5c5e14ba0820b106945331f07909a756ff2d3

Audaspace: fixing a memory access violation in the audio device list.

===================================================================

M	source/blender/blenkernel/intern/sound.c

===================================================================

diff --git a/source/blender/blenkernel/intern/sound.c b/source/blender/blenkernel/intern/sound.c
index 88d1433..5584b08 100644
--- a/source/blender/blenkernel/intern/sound.c
+++ b/source/blender/blenkernel/intern/sound.c
@@ -842,7 +842,7 @@ char** BKE_sound_get_device_names(void)
 		audio_device_names = AUD_getDeviceNames();
 #else
 		static const char* names[] = {
-			"Null", "SDL", "OpenAL", "Jack"
+			"Null", "SDL", "OpenAL", "Jack", NULL
 		};
 		audio_device_names = (char**)names;
 #endif




More information about the Bf-blender-cvs mailing list