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