Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2004-08-31 17:11:59 +0400
committerKent Mein <mein@cs.umn.edu>2004-08-31 17:11:59 +0400
commit19a24abcb2584c9c76c14ec32610df11a72bd0c3 (patch)
treecc00ac58df703fd8116e17fb0f534bbd02375660 /intern
parente525578f4d2aecbd0ea53208fa83ec6f3e2f163a (diff)
two more vars that were questionably not initalized...
Kent
Diffstat (limited to 'intern')
-rw-r--r--intern/SoundSystem/openal/SND_OpenALDevice.cpp3
1 files changed, 3 insertions, 0 deletions
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)
{