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:
Bryce Van Dyk 2019-03-25 19:37:39 +00:00
Родитель b3e38bb341
Коммит 8def97eeab
1 изменённых файлов: 3 добавлений и 2 удалений

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

@ -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;
}
};