Lines Matching defs:last_pkt
30 AVPacket *last_pkt; /* Not owned by us */
41 w->last_pkt = ffformatcontext(s)->pkt;
83 if (w->last_pkt->size) {
88 if (AV_RL32(w->last_pkt->data) == AV_RL32("RIFF"))
91 if (AV_RL32(w->last_pkt->data + skip) == AV_RL32("VP8X")) {
92 flags |= w->last_pkt->data[skip + 4 + 4];
94 skip += AV_RL32(w->last_pkt->data + skip + 4) + 8;
128 avio_wl32(s->pb, 16 + w->last_pkt->size - skip);
133 if (w->last_pkt->pts != AV_NOPTS_VALUE && pts != AV_NOPTS_VALUE) {
134 avio_wl24(s->pb, pts - w->last_pkt->pts);
136 avio_wl24(s->pb, w->last_pkt->duration);
139 avio_write(s->pb, w->last_pkt->data + skip, w->last_pkt->size - skip);
140 av_packet_unref(w->last_pkt);
165 av_packet_ref(w->last_pkt, pkt);