avutil: remove deprecated FF_API_PKT_DURATION

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2024-01-20 12:39:15 -03:00
parent 4c92fc02f8
commit b8fef7e9c5
38 changed files with 360 additions and 643 deletions

View File

@@ -2666,11 +2666,6 @@ static int send_frame(FilterGraph *fg, FilterGraphThread *fgt,
frame->pts = av_rescale_q(frame->pts, frame->time_base, ifp->time_base);
frame->duration = av_rescale_q(frame->duration, frame->time_base, ifp->time_base);
frame->time_base = ifp->time_base;
#if LIBAVUTIL_VERSION_MAJOR < 59
AV_NOWARN_DEPRECATED(
frame->pkt_duration = frame->duration;
)
#endif
fd = frame_data(frame);
if (!fd)