| Index: content/common/gpu/media/h264_parser.cc
|
| diff --git a/content/common/gpu/media/h264_parser.cc b/content/common/gpu/media/h264_parser.cc
|
| index 6e3712ef7ad5417a984200c2fa9d2223be305e28..d869df4503d54789650ff46d6b787febeecdeb51 100644
|
| --- a/content/common/gpu/media/h264_parser.cc
|
| +++ b/content/common/gpu/media/h264_parser.cc
|
| @@ -649,7 +649,6 @@ static void FillDefaultSeqScalingLists(H264SPS* sps) {
|
|
|
| H264Parser::Result H264Parser::ParseSPS(int* sps_id) {
|
| // See 7.4.2.1.
|
| - int data;
|
| Result res;
|
|
|
| *sps_id = -1;
|
| @@ -657,8 +656,7 @@ H264Parser::Result H264Parser::ParseSPS(int* sps_id) {
|
| scoped_ptr<H264SPS> sps(new H264SPS());
|
|
|
| READ_BITS_OR_RETURN(8, &sps->profile_idc);
|
| - // Skip constraint_setx_flag and reserved flags.
|
| - READ_BITS_OR_RETURN(8, &data);
|
| + READ_BITS_OR_RETURN(8, &sps->constraint_setx_flag);
|
| READ_BITS_OR_RETURN(8, &sps->level_idc);
|
| READ_UE_OR_RETURN(&sps->seq_parameter_set_id);
|
| TRUE_OR_RETURN(sps->seq_parameter_set_id < 32);
|
|
|