Searched refs:codecPrivate (Results 1 – 1 of 1) sorted by relevance
1559 const uint8_t *codecPrivate = (const uint8_t *)_codecPrivate; in addVorbisCodecInfo() local1561 if (codecPrivate[0] != 0x02) { in addVorbisCodecInfo()1570 while (offset < codecPrivateSize && codecPrivate[offset] == 0xff) { in addVorbisCodecInfo()1580 if (len1 > (SIZE_MAX - codecPrivate[offset])) { in addVorbisCodecInfo()1583 len1 += codecPrivate[offset++]; in addVorbisCodecInfo()1586 while (offset < codecPrivateSize && codecPrivate[offset] == 0xff) { in addVorbisCodecInfo()1596 if (len2 > (SIZE_MAX - codecPrivate[offset])) { in addVorbisCodecInfo()1599 len2 += codecPrivate[offset++]; in addVorbisCodecInfo()1606 if (codecPrivate[offset] != 0x01) { in addVorbisCodecInfo()1610 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CSD_0, &codecPrivate[offset], len1); in addVorbisCodecInfo()[all …]