Real fix for Quicktime 4.x sweep bug 89407 r=av sr=blizzard

This commit is contained in:
peterlubczynski%netscape.com 2001-07-14 01:01:02 +00:00
Родитель c9310028fb
Коммит a567eeafa7
2 изменённых файлов: 10 добавлений и 22 удалений

Просмотреть файл

@ -3824,19 +3824,13 @@ static PRBool isUnwantedPlugin(nsPluginTag * tag)
if(nsnull == PL_strcasecmp(tag->mMimeTypeArray[i],"application/x-director"))
return PR_FALSE;
// these are Quicktime-only types so that wav and midi will register indirectly
if(nsnull == PL_strcasecmp(tag->mMimeTypeArray[i],"image/x-quicktime"))
return PR_FALSE;
if(nsnull == PL_strcasecmp(tag->mMimeTypeArray[i],"image/x-macpaint"))
return PR_FALSE;
if(nsnull == PL_strcasecmp(tag->mMimeTypeArray[i],"video/quicktime"))
return PR_FALSE;
}
// On Windows, we also want to include the Quicktime plugin from the 4.x directory
// But because it spans several DLL's, the best check for now is by filename
if (nsnull != PL_strcasestr(tag->mFileName,"npqtplugin"))
return PR_FALSE;
return PR_TRUE;
}

Просмотреть файл

@ -3824,19 +3824,13 @@ static PRBool isUnwantedPlugin(nsPluginTag * tag)
if(nsnull == PL_strcasecmp(tag->mMimeTypeArray[i],"application/x-director"))
return PR_FALSE;
// these are Quicktime-only types so that wav and midi will register indirectly
if(nsnull == PL_strcasecmp(tag->mMimeTypeArray[i],"image/x-quicktime"))
return PR_FALSE;
if(nsnull == PL_strcasecmp(tag->mMimeTypeArray[i],"image/x-macpaint"))
return PR_FALSE;
if(nsnull == PL_strcasecmp(tag->mMimeTypeArray[i],"video/quicktime"))
return PR_FALSE;
}
// On Windows, we also want to include the Quicktime plugin from the 4.x directory
// But because it spans several DLL's, the best check for now is by filename
if (nsnull != PL_strcasestr(tag->mFileName,"npqtplugin"))
return PR_FALSE;
return PR_TRUE;
}