Fix for crash when no audio engine available but audio asset arrived; patch by Ryo Pasternak (FIRE-4133)
parent
2ea68ba215
commit
606d3a566a
|
|
@ -1215,6 +1215,11 @@ void LLAudioEngine::startNextTransfer()
|
|||
// static
|
||||
void LLAudioEngine::assetCallback(LLVFS *vfs, const LLUUID &uuid, LLAssetType::EType type, void *user_data, S32 result_code, LLExtStat ext_status)
|
||||
{
|
||||
if (!gAudiop)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (result_code)
|
||||
{
|
||||
llinfos << "Boom, error in audio file transfer: " << LLAssetStorage::getErrorString( result_code ) << " (" << result_code << ")" << llendl;
|
||||
|
|
|
|||
Loading…
Reference in New Issue