Lines Matching refs:packet
142 /* the rest of the packet will fit in the buffer */
144 memcpy(buffer, aspect->working_packet.packet, n);
150 /* only n bytes of the packet will fit in the buffer */
151 memcpy(buffer, aspect->working_packet.packet, n);
154 aspect->working_packet.packet += n;
159 /* try and get another packet */
163 /* if it is the first header packet, check for magic and a supported Ogg FLAC mapping version */
164 if (aspect->working_packet.bytes > 0 && aspect->working_packet.packet[0] == FLAC__OGG_MAPPING_FIRST_HEADER_PACKET_TYPE) {
165 const FLAC__byte *b = aspect->working_packet.packet;
183 aspect->working_packet.packet += header_length;