Searched refs:codecPrivate (Results 1 – 1 of 1) sorted by relevance
1553 const uint8_t *codecPrivate = (const uint8_t *)_codecPrivate; in addVorbisCodecInfo() local1555 if (codecPrivate[0] != 0x02) { in addVorbisCodecInfo()1564 while (offset < codecPrivateSize && codecPrivate[offset] == 0xff) { in addVorbisCodecInfo()1574 if (len1 > (SIZE_MAX - codecPrivate[offset])) { in addVorbisCodecInfo()1577 len1 += codecPrivate[offset++]; in addVorbisCodecInfo()1580 while (offset < codecPrivateSize && codecPrivate[offset] == 0xff) { in addVorbisCodecInfo()1590 if (len2 > (SIZE_MAX - codecPrivate[offset])) { in addVorbisCodecInfo()1593 len2 += codecPrivate[offset++]; in addVorbisCodecInfo()1600 if (codecPrivate[offset] != 0x01) { in addVorbisCodecInfo()1604 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CSD_0, &codecPrivate[offset], len1); in addVorbisCodecInfo()[all …]