summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-04-01 17:34:26 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-04-01 17:34:26 +0100
commitab79bf7aaeaa0cbd7b2571601971cce97f9b4acd (patch)
tree1cf4e8a2fbfeeafb0b0ef33c0744e7c22aca14c9
parent03322a8e87db8e42435e0641d40e48dc25aa9a97 (diff)
Checker: CHECKED_RETURN
Function: LLViewerMediaImpl::createMediaSource() File: /indra/newview/llviewermedia.cpp
-rw-r--r--indra/newview/llviewermedia.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp
index d9fabc7d64..d3eed40f25 100644
--- a/indra/newview/llviewermedia.cpp
+++ b/indra/newview/llviewermedia.cpp
@@ -1537,7 +1537,10 @@ void LLViewerMediaImpl::createMediaSource()
}
else if(! mMimeType.empty())
{
- initializeMedia(mMimeType);
+ if (!initializeMedia(mMimeType))
+ {
+ LL_WARNS("Media") << "Failed to initialize media for mime type " << mMimeType << LL_ENDL;
+ }
}
}