summaryrefslogtreecommitdiff
path: root/fftools/sync_queue.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-07-23 12:52:02 +0200
committerAnton Khirnov <anton@khirnov.net>2022-07-24 08:46:16 +0200
commit34cbda3ee193a793dea396314d7d11f8c4108fc3 (patch)
tree16fcf98b6dc975d3a8bf507c39eea9d86ad1d43f /fftools/sync_queue.c
parent23953b9eb79bb52eb9a6dfc81a5998f90c9b56fb (diff)
downloadffmpeg-34cbda3ee193a793dea396314d7d11f8c4108fc3.tar.gz
fftools/ffmpeg: replace AVFrame.pkt_duration with duration
Mistakenly reintroduced in 4740fea7ddf.
Diffstat (limited to 'fftools/sync_queue.c')
-rw-r--r--fftools/sync_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/sync_queue.c b/fftools/sync_queue.c
index 3143d12cf1..c2b23ee4f5 100644
--- a/fftools/sync_queue.c
+++ b/fftools/sync_queue.c
@@ -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)