You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavc/libvpxenc: drop FrameListData.duration
It is write-only.
This commit is contained in:
@@ -58,8 +58,6 @@ struct FrameListData {
|
|||||||
size_t sz; /**< length of compressed data */
|
size_t sz; /**< length of compressed data */
|
||||||
int64_t pts; /**< time stamp to show frame
|
int64_t pts; /**< time stamp to show frame
|
||||||
(in timebase units) */
|
(in timebase units) */
|
||||||
unsigned long duration; /**< duration to show frame
|
|
||||||
(in timebase units) */
|
|
||||||
uint32_t flags; /**< flags for this frame */
|
uint32_t flags; /**< flags for this frame */
|
||||||
uint64_t sse[4];
|
uint64_t sse[4];
|
||||||
int have_sse; /**< true if we have pending sse[] */
|
int have_sse; /**< true if we have pending sse[] */
|
||||||
@@ -1295,7 +1293,6 @@ static inline void cx_pktcpy(struct FrameListData *dst,
|
|||||||
VPxContext *ctx)
|
VPxContext *ctx)
|
||||||
{
|
{
|
||||||
dst->pts = src->data.frame.pts;
|
dst->pts = src->data.frame.pts;
|
||||||
dst->duration = src->data.frame.duration;
|
|
||||||
dst->flags = src->data.frame.flags;
|
dst->flags = src->data.frame.flags;
|
||||||
dst->sz = src->data.frame.sz;
|
dst->sz = src->data.frame.sz;
|
||||||
dst->buf = src->data.frame.buf;
|
dst->buf = src->data.frame.buf;
|
||||||
|
Reference in New Issue
Block a user