summaryrefslogtreecommitdiff
path: root/indra/llaudio
diff options
context:
space:
mode:
authorMark Palange (Mani) <palange@lindenlab.com>2010-12-10 13:15:56 -0800
committerMark Palange (Mani) <palange@lindenlab.com>2010-12-10 13:15:56 -0800
commit10a28e64edb8b1dcd7aca31ec6deef44132fd672 (patch)
tree88051a297901297d5844fa93fc41782742360ae5 /indra/llaudio
parent90da762f97a30c16e23184352f4d413c34279ba4 (diff)
parent426744df2c9a6c04bab594fefbd8b35970d0948d (diff)
Merge
Diffstat (limited to 'indra/llaudio')
-rw-r--r--indra/llaudio/llaudioengine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llaudio/llaudioengine.cpp b/indra/llaudio/llaudioengine.cpp
index 1cc03bddb8..c9cb1cd6e7 100644
--- a/indra/llaudio/llaudioengine.cpp
+++ b/indra/llaudio/llaudioengine.cpp
@@ -1557,6 +1557,10 @@ bool LLAudioSource::hasPendingPreloads() const
LLAudioData *adp = iter->second;
// note: a bad UUID will forever be !hasDecodedData()
// but also !hasValidData(), hence the check for hasValidData()
+ if (!adp)
+ {
+ continue;
+ }
if (!adp->hasDecodedData() && adp->hasValidData())
{
// This source is still waiting for a preload