32 memset(
pkt, 0,
sizeof(*
pkt));
46 unsigned int update_end_point = 1;
70 if (packet_buffer->
head) {
73 packet_buffer->
head = pktl;
79 packet_buffer->
head = pktl;
81 if (update_end_point) {
83 packet_buffer->
tail = pktl;
97 if (!pkt_buffer->
head)
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
Convenience header that includes libavutil's core.
#define flags(name, subs,...)
void av_packet_unref(AVPacket *pkt)
Wipe the packet.
int av_packet_make_refcounted(AVPacket *pkt)
Ensure the data described by a given packet is reference counted.
void av_packet_move_ref(AVPacket *dst, AVPacket *src)
Move every field in src to dst and reset src.
static AVRational av_make_q(int num, int den)
Create an AVRational.
#define AV_NOPTS_VALUE
Undefined timestamp value.
Memory handling functions.
Utilities for rational number calculation.
This structure stores compressed data.
struct PacketListEntry * next
static void copy(const float *p1, float *p2, const int length)