fftools/ffmpeg: replace AVFrame.pkt_duration with duration

Mistakenly reintroduced in 4740fea7dd.
This commit is contained in:
Anton Khirnov
2022-07-23 12:52:02 +02:00
parent 23953b9eb7
commit 34cbda3ee1
2 changed files with 4 additions and 4 deletions

View File

@@ -76,7 +76,7 @@ static int64_t frame_ts(const SyncQueue *sq, SyncQueueFrame frame)
{
return (sq->type == SYNC_QUEUE_PACKETS) ?
frame.p->pts + frame.p->duration :
frame.f->pts + frame.f->pkt_duration;
frame.f->pts + frame.f->duration;
}
static int frame_null(const SyncQueue *sq, SyncQueueFrame frame)