Lines Matching defs:packet
35 uint8_t *packet;
86 tmp = av_realloc(c->packet, c->size + 1);
89 c->packet = tmp;
90 c->packet[0] = type;
91 if (avio_read(s->pb, c->packet + 1, c->size) != c->size)
94 int audio_size = c->packet[1] * 65 + 1;
96 av_log(s, AV_LOG_ERROR, "Reported audio size %d is bigger than packet size (%d)\n",
102 memcpy(pkt->data, c->packet + 1, pkt->size);
105 pkt->duration = c->packet[1] * 32;
116 memcpy(pkt->data, c->packet, pkt->size);
124 av_freep(&c->packet);