Fix unittest failures in previous cl

Change-Id: Ib44a8d0a2907083281a5afdd5b5277a0a0fc35c7
This commit is contained in:
Kongqun Yang 2016-05-16 17:08:17 -07:00
parent 940cc43de2
commit c923cb283a
1 changed files with 2 additions and 1 deletions

View File

@ -420,7 +420,7 @@ class BoxDefinitionsTestGeneral : public testing::Test {
void Fill(OpusSpecific* dops) { void Fill(OpusSpecific* dops) {
const uint8_t kOpusIdentificationHeader[] = { const uint8_t kOpusIdentificationHeader[] = {
0x4f, 0x70, 0x75, 0x73, 0x48, 0x65, 0x61, 0x64, 0x01, 0x02, 0x4f, 0x70, 0x75, 0x73, 0x48, 0x65, 0x61, 0x64, 0x01, 0x02,
0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x10, 0x00}; 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x10, 0x01, 0x11};
dops->opus_identification_header.assign( dops->opus_identification_header.assign(
kOpusIdentificationHeader, kOpusIdentificationHeader,
kOpusIdentificationHeader + arraysize(kOpusIdentificationHeader)); kOpusIdentificationHeader + arraysize(kOpusIdentificationHeader));
@ -589,6 +589,7 @@ class BoxDefinitionsTestGeneral : public testing::Test {
sgpd->cenc_sample_encryption_info_entries[0].constant_iv.assign( sgpd->cenc_sample_encryption_info_entries[0].constant_iv.assign(
kData16Bytes, kData16Bytes + arraysize(kData16Bytes)); kData16Bytes, kData16Bytes + arraysize(kData16Bytes));
sgpd->cenc_sample_encryption_info_entries[0].key_id.resize(16); sgpd->cenc_sample_encryption_info_entries[0].key_id.resize(16);
sgpd->version = 1;
} }
void Fill(SampleToGroup* sbgp) { void Fill(SampleToGroup* sbgp) {