Lines Matching refs:next_pkt
1472 AVPacket *next_pkt = &pktl->pkt;
1474 if (next_pkt->dts != AV_NOPTS_VALUE) {
1475 int wrap_bits = s->streams[next_pkt->stream_index]->pts_wrap_bits;
1478 int64_t last_dts = next_pkt->dts;
1480 while (pktl && next_pkt->pts == AV_NOPTS_VALUE) {
1481 if (pktl->pkt.stream_index == next_pkt->stream_index &&
1482 av_compare_mod(next_pkt->dts, pktl->pkt.dts, 2ULL << (wrap_bits - 1)) < 0) {
1485 next_pkt->pts = pktl->pkt.dts;
1494 if (eof && next_pkt->pts == AV_NOPTS_VALUE && last_dts != AV_NOPTS_VALUE) {
1500 next_pkt->pts = last_dts + next_pkt->duration;
1506 st = s->streams[next_pkt->stream_index];
1507 if (!(next_pkt->pts == AV_NOPTS_VALUE && st->discard < AVDISCARD_ALL &&
1508 next_pkt->dts != AV_NOPTS_VALUE && !eof)) {