Fix profile 2 in vp9_header_parser.
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1208 Change-Id: Ie31adef15eac965e3fb587825f63ff320c1d59fe
This commit is contained in:
@@ -40,7 +40,8 @@ bool Vp9HeaderParser::ParseUncompressedHeader() {
|
||||
return false;
|
||||
}
|
||||
|
||||
profile_ = VpxReadLiteral(2);
|
||||
profile_ = ReadBit();
|
||||
profile_ |= ReadBit() << 1;
|
||||
if (profile_ > 2)
|
||||
profile_ += ReadBit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user