| Index: media/mp4/avc_unittest.cc
|
| diff --git a/media/mp4/avc_unittest.cc b/media/mp4/avc_unittest.cc
|
| index cdcc413037426de42535f03ef4bf67ce27d75b5d..a598ab073f5523cda6f720e65d598c75e690e6d2 100644
|
| --- a/media/mp4/avc_unittest.cc
|
| +++ b/media/mp4/avc_unittest.cc
|
| @@ -23,7 +23,7 @@ static const uint8 kExpected[] = {
|
| static const uint8 kExpectedParamSets[] = {
|
| 0x00, 0x00, 0x00, 0x01, 0x67, 0x12,
|
| 0x00, 0x00, 0x00, 0x01, 0x67, 0x34,
|
| - 0x00, 0x00, 0x00, 0x01, 0x68, 0x56, 0x78, 0x9a};
|
| + 0x00, 0x00, 0x00, 0x01, 0x68, 0x56, 0x78};
|
|
|
| class AVCConversionTest : public testing::TestWithParam<int> {
|
| protected:
|
| @@ -73,7 +73,7 @@ INSTANTIATE_TEST_CASE_P(AVCConversionTestValues,
|
| AVCConversionTest,
|
| ::testing::Values(1, 2, 4));
|
|
|
| -TEST(AVC, InsertParameterSetsTest) {
|
| +TEST_F(AVCConversionTest, ConvertParameterSets) {
|
| AVCDecoderConfigurationRecord avc_config;
|
| avc_config.sps_list.resize(2);
|
| avc_config.sps_list[0].push_back(0x67);
|
| @@ -86,8 +86,7 @@ TEST(AVC, InsertParameterSetsTest) {
|
| avc_config.pps_list[0].push_back(0x78);
|
|
|
| std::vector<uint8> buf;
|
| - buf.push_back(0x9a);
|
| - EXPECT_TRUE(AVC::InsertParameterSets(avc_config, &buf));
|
| + EXPECT_TRUE(AVC::ConvertParameterSets(avc_config, &buf));
|
| EXPECT_EQ(0, memcmp(kExpectedParamSets, &buf[0],
|
| sizeof(kExpectedParamSets)));
|
| }
|
|
|