summaryrefslogtreecommitdiff
path: root/indra/llaudio
diff options
context:
space:
mode:
authorYchebotarev ProductEngine <ychebotarev@productengine.com>2010-02-04 15:45:24 +0200
committerYchebotarev ProductEngine <ychebotarev@productengine.com>2010-02-04 15:45:24 +0200
commit0ae5368cc61f8ce95a186e6c2268b1e0a8d59c14 (patch)
tree2beb159778842156fad344e55ce8e00de397b6d2 /indra/llaudio
parent36a44ba0e9133e78cc66f7d0b65d0890cfeb3db5 (diff)
parent56ca1aebb866b7d7e1526e31797dd7e07fcb74a8 (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/llaudio')
-rw-r--r--indra/llaudio/llaudiodecodemgr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llaudio/llaudiodecodemgr.cpp b/indra/llaudio/llaudiodecodemgr.cpp
index 6bbaad9cef..290206ee22 100644
--- a/indra/llaudio/llaudiodecodemgr.cpp
+++ b/indra/llaudio/llaudiodecodemgr.cpp
@@ -181,6 +181,8 @@ LLVorbisDecodeState::LLVorbisDecodeState(const LLUUID &uuid, const std::string &
mFileHandle = LLLFSThread::nullHandle();
#endif
// No default value for mVF, it's an ogg structure?
+ // Hey, let's zero it anyway, for predictability.
+ memset(&mVF, 0, sizeof(mVF));
}
LLVorbisDecodeState::~LLVorbisDecodeState()