aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-12-12 22:20:43 -0300
committerJames Almer <jamrial@gmail.com>2020-12-13 12:14:57 -0300
commit081a17990b9a8661ac2d1498937d3b35d26d8912 (patch)
tree447dffcb4399075aea393d616600ba6bbe48bc11
parent94febdaec607d5b649e0781d9727cdb570131235 (diff)
downloadffmpeg-081a17990b9a8661ac2d1498937d3b35d26d8912.tar.gz
avcodec/libdav1d: stop setting AVFrame->best_effort_timestamp
It's now set by the generic decode code. Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavcodec/libdav1d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c
index de57bce33d..383e4557b4 100644
--- a/libavcodec/libdav1d.c
+++ b/libavcodec/libdav1d.c
@@ -313,7 +313,7 @@ static int libdav1d_receive_frame(AVCodecContext *c, AVFrame *frame)
}
// match timestamps and packet size
- frame->pts = frame->best_effort_timestamp = p->m.timestamp;
+ frame->pts = p->m.timestamp;
#if FF_API_PKT_PTS
FF_DISABLE_DEPRECATION_WARNINGS
frame->pkt_pts = p->m.timestamp;