Lines Matching refs:pktl
1816 AVPacketList *pktl = s->packet_buffer;
1820 while (pktl) {
1821 if (!stream_count || pktl->pkt.stream_index == 0)
1823 last = pktl;
1824 pktl = pktl->next;
1828 while (pktl) {
1829 AVPacketList *next = pktl->next;
1831 if(s->streams[pktl->pkt.stream_index]->last_in_packet_buffer == pktl)
1832 s->streams[pktl->pkt.stream_index]->last_in_packet_buffer= NULL;
1833 av_free_packet(&pktl->pkt);
1834 av_freep(&pktl);
1835 pktl = next;
1844 pktl = s->packet_buffer;
1847 *out = pktl->pkt;
1849 s->packet_buffer = pktl->next;
1850 if(s->streams[pktl->pkt.stream_index]->last_in_packet_buffer == pktl)
1851 s->streams[pktl->pkt.stream_index]->last_in_packet_buffer= NULL;
1854 av_freep(&pktl);