Home
last modified time | relevance | path

Searched refs:codecPrivate (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1544 const uint8_t *codecPrivate = (const uint8_t *)_codecPrivate; in addVorbisCodecInfo() local
1546 if (codecPrivate[0] != 0x02) { in addVorbisCodecInfo()
1555 while (offset < codecPrivateSize && codecPrivate[offset] == 0xff) { in addVorbisCodecInfo()
1565 if (len1 > (SIZE_MAX - codecPrivate[offset])) { in addVorbisCodecInfo()
1568 len1 += codecPrivate[offset++]; in addVorbisCodecInfo()
1571 while (offset < codecPrivateSize && codecPrivate[offset] == 0xff) { in addVorbisCodecInfo()
1581 if (len2 > (SIZE_MAX - codecPrivate[offset])) { in addVorbisCodecInfo()
1584 len2 += codecPrivate[offset++]; in addVorbisCodecInfo()
1591 if (codecPrivate[offset] != 0x01) { in addVorbisCodecInfo()
1595 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CSD_0, &codecPrivate[offset], len1); in addVorbisCodecInfo()
[all …]