зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1538253 - VPXDecoder::IsCompatible checks subsampling x members for equality. r=jya
We had a stray `&&` where a `==` should have been. Differential Revision: https://phabricator.services.mozilla.com/D24526 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
b3e38bb341
Коммит
8def97eeab
|
@ -108,8 +108,9 @@ class VPXDecoder : public MediaDataDecoder,
|
|||
|
||||
bool IsCompatible(const VPXStreamInfo& aOther) const {
|
||||
return mImage == aOther.mImage && mProfile == aOther.mProfile &&
|
||||
mBitDepth == aOther.mBitDepth && mSubSampling_x &&
|
||||
aOther.mSubSampling_x && mSubSampling_y == aOther.mSubSampling_y;
|
||||
mBitDepth == aOther.mBitDepth &&
|
||||
mSubSampling_x == aOther.mSubSampling_x &&
|
||||
mSubSampling_y == aOther.mSubSampling_y;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче