| Index: media/filters/vp8_parser.cc
|
| diff --git a/media/filters/vp8_parser.cc b/media/filters/vp8_parser.cc
|
| index 5b49673d86e88b42450f4e849c608bf6c844e95a..008847880b9dafc486ab784f203ee4207c637d70 100644
|
| --- a/media/filters/vp8_parser.cc
|
| +++ b/media/filters/vp8_parser.cc
|
| @@ -153,8 +153,8 @@ bool Vp8Parser::ParseFrameHeader(Vp8FrameHeader* fhdr) {
|
|
|
| int log2_nbr_of_dct_partitions;
|
| BD_READ_UNSIGNED_OR_RETURN(2, &log2_nbr_of_dct_partitions);
|
| - fhdr->num_of_dct_partitions =
|
| - static_cast<size_t>(1 << log2_nbr_of_dct_partitions);
|
| + fhdr->num_of_dct_partitions = static_cast<size_t>(1)
|
| + << log2_nbr_of_dct_partitions;
|
|
|
| if (!ParseQuantizationHeader(&fhdr->quantization_hdr))
|
| return false;
|
|
|