summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-02-28 13:00:32 +0100
committerAnton Khirnov <anton@khirnov.net>2023-03-10 13:00:53 +0100
commitae95c87e64aa7ec29e0bad19016950171c3db3c6 (patch)
tree47b97015ffe9c5f4f9e3bffe529811d1bbbea912
parent942fb48c38b9a26c4fe2b282cc11f9c22c68bf1f (diff)
lavc/libvpxenc: drop FrameListData.duration
It is write-only.
-rw-r--r--libavcodec/libvpxenc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c
index 3d7b809b2f..a20e949842 100644
--- a/libavcodec/libvpxenc.c
+++ b/libavcodec/libvpxenc.c
@@ -58,8 +58,6 @@ struct FrameListData {
size_t sz; /**< length of compressed data */
int64_t pts; /**< time stamp to show frame
(in timebase units) */
- unsigned long duration; /**< duration to show frame
- (in timebase units) */
uint32_t flags; /**< flags for this frame */
uint64_t sse[4];
int have_sse; /**< true if we have pending sse[] */
@@ -1295,7 +1293,6 @@ static inline void cx_pktcpy(struct FrameListData *dst,
VPxContext *ctx)
{
dst->pts = src->data.frame.pts;
- dst->duration = src->data.frame.duration;
dst->flags = src->data.frame.flags;
dst->sz = src->data.frame.sz;
dst->buf = src->data.frame.buf;