diff --git a/intern/SoundSystem/openal/SND_OpenALDevice.cpp b/intern/SoundSystem/openal/SND_OpenALDevice.cpp index dfac8333a33..49ce3664d10 100644 --- a/intern/SoundSystem/openal/SND_OpenALDevice.cpp +++ b/intern/SoundSystem/openal/SND_OpenALDevice.cpp @@ -369,6 +369,9 @@ SND_WaveSlot* SND_OpenALDevice::LoadSample(const STR_String& name, int samplerate, numberofsamples, frequency; // openal_2.14+ #endif + /* Give them some safe defaults just incase */ + bitrate = numberofchannels = 0; + /* load the sample from memory? */ if (size && memlocation) {