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

This commit is contained in:
Lukas Stockner 2015-07-28 17:39:55 +02:00 committed by Jörg Müller
parent a6b2650c7d
commit 20c5c5e14b
1 changed files with 1 additions and 1 deletions

View File

@ -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