two more vars that were questionably not initalized...
[blender-staging.git] / intern / SoundSystem / openal / SND_OpenALDevice.cpp
index dfac8333a338796c29f22d6b95576f71a6bf6a35..49ce3664d106da550679bf9d07476ce03aebd2ab 100644 (file)
@@ -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)
                                {