diff options
| author | Oz Linden <oz@lindenlab.com> | 2010-12-02 14:02:46 -0500 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2010-12-02 14:02:46 -0500 |
| commit | 20e192029ceaf7e9b6d097d6e65089d9011a4c0b (patch) | |
| tree | 3687b1fdf97d058e75565306c3214fc967839257 /indra/llaudio/llaudioengine.cpp | |
| parent | fbfe7418e567b79c60cc873a8882d9be97e3bb0a (diff) | |
| parent | 5098ca5ae444ca492bc668fbd07976e96eb5726a (diff) | |
merge fix for STORM-596
Diffstat (limited to 'indra/llaudio/llaudioengine.cpp')
| -rw-r--r-- | indra/llaudio/llaudioengine.cpp | 4 |
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 |
