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>
This commit is contained in:
James Almer 2020-12-12 22:20:43 -03:00
parent 94febdaec6
commit 081a17990b

View File

@ -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;