Lines Matching defs:next_pkt
1609 AVPacket *next_pkt = &pktl->pkt;
1611 if (next_pkt->dts != AV_NOPTS_VALUE) {
1612 int wrap_bits = s->streams[next_pkt->stream_index]->pts_wrap_bits;
1615 int64_t last_dts = next_pkt->dts;
1616 while (pktl && next_pkt->pts == AV_NOPTS_VALUE) {
1617 if (pktl->pkt.stream_index == next_pkt->stream_index &&
1618 (av_compare_mod(next_pkt->dts, pktl->pkt.dts, 2LL << (wrap_bits - 1)) < 0)) {
1621 next_pkt->pts = pktl->pkt.dts;
1630 if (eof && next_pkt->pts == AV_NOPTS_VALUE && last_dts != AV_NOPTS_VALUE) {
1636 next_pkt->pts = last_dts + next_pkt->duration;
1642 st = s->streams[next_pkt->stream_index];
1643 if (!(next_pkt->pts == AV_NOPTS_VALUE && st->discard < AVDISCARD_ALL &&
1644 next_pkt->dts != AV_NOPTS_VALUE && !eof)) {