Merge branch 'curlthreading2' into curlthreading3

This commit is contained in:
Aleric Inglewood
2012-09-06 15:12:22 +02:00
4070 changed files with 25269 additions and 20661 deletions

View File

@@ -338,7 +338,14 @@ void LLViewerMedia::setVolume(F32 volume)
{
LLViewerMediaImpl* pimpl = *iter;
LLPluginClassMedia* plugin = pimpl->getMediaPlugin();
plugin->setVolume(volume);
if(plugin)
{
plugin->setVolume(volume);
}
else
{
llwarns << "Plug-in already destroyed" << llendl;
}
}
}