зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1401922 - P2. Only set error when non handled. r=alwu
MozReview-Commit-ID: CF2Iw0i0nD8 --HG-- extra : rebase_source : d95ae83f8e426593200cd15b3ea7d6fd19da3ec8
This commit is contained in:
Родитель
ac7ed4578a
Коммит
2cd8f30633
|
@ -297,8 +297,7 @@ PDMFactory::CreateDecoderWithPDM(PlatformDecoderModule* aPDM,
|
|||
// or there wasn't enough AVCC data to do so. Otherwise, there was some
|
||||
// problem, for example WMF DLLs were missing.
|
||||
m = h.forget();
|
||||
}
|
||||
if (NS_FAILED(result) && aParams.mError) {
|
||||
} else if (aParams.mError) {
|
||||
*aParams.mError = result;
|
||||
}
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче