Lines Matching refs:working_packet
141 if ((size_t)aspect->working_packet.bytes <= n) {
143 n = aspect->working_packet.bytes;
144 memcpy(buffer, aspect->working_packet.packet, n);
151 memcpy(buffer, aspect->working_packet.packet, n);
154 aspect->working_packet.packet += n;
155 aspect->working_packet.bytes -= n;
160 const int ret = ogg_stream_packetout(&aspect->stream_state, &aspect->working_packet);
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;
172 if (aspect->working_packet.bytes < (long)header_length)
183 aspect->working_packet.packet += header_length;
184 aspect->working_packet.bytes -= header_length;