Lines Matching refs:pkt1
486 PacketList *pkt, *pkt1; in avpacket_queue_flush() local
489 for (pkt = q->first_pkt; pkt != NULL; pkt = pkt1) { in avpacket_queue_flush()
490 pkt1 = pkt->next; in avpacket_queue_flush()
519 PacketList *pkt1; in avpacket_queue_put() local
533 pkt1 = (PacketList *)av_malloc(sizeof(PacketList)); in avpacket_queue_put()
534 if (!pkt1) { in avpacket_queue_put()
538 av_packet_move_ref(&pkt1->pkt, pkt); in avpacket_queue_put()
539 pkt1->next = NULL; in avpacket_queue_put()
544 q->first_pkt = pkt1; in avpacket_queue_put()
546 q->last_pkt->next = pkt1; in avpacket_queue_put()
549 q->last_pkt = pkt1; in avpacket_queue_put()
551 q->size += pkt1->pkt.size + sizeof(*pkt1); in avpacket_queue_put()
561 PacketList *pkt1; in avpacket_queue_get() local
567 pkt1 = q->first_pkt; in avpacket_queue_get()
568 if (pkt1) { in avpacket_queue_get()
569 q->first_pkt = pkt1->next; in avpacket_queue_get()
574 q->size -= pkt1->pkt.size + sizeof(*pkt1); in avpacket_queue_get()
575 *pkt = pkt1->pkt; in avpacket_queue_get()
576 av_free(pkt1); in avpacket_queue_get()