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:
parent
4fc66dab83
commit
d31e6c970d
@ -40,7 +40,8 @@ bool Vp9HeaderParser::ParseUncompressedHeader() {
|
||||
return false;
|
||||
}
|
||||
|
||||
profile_ = VpxReadLiteral(2);
|
||||
profile_ = ReadBit();
|
||||
profile_ |= ReadBit() << 1;
|
||||
if (profile_ > 2)
|
||||
profile_ += ReadBit();
|
||||
|
||||
|
@ -35,7 +35,7 @@ using libwebm::Indent;
|
||||
using libwebm::kNanosecondsPerSecond;
|
||||
using libwebm::kNanosecondsPerSecondi;
|
||||
|
||||
const char VERSION_STRING[] = "1.0.4.3";
|
||||
const char VERSION_STRING[] = "1.0.4.4";
|
||||
|
||||
struct Options {
|
||||
Options();
|
||||
|
Loading…
Reference in New Issue
Block a user