Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-06 22:40:41 +0300
committerJames Almer <jamrial@gmail.com>2021-04-27 16:43:13 +0300
commit6e30b35b85b81c802e52a1078ec7a3097e353c6d (patch)
treeee16d29abe46a5d27abc8e42f051d5d44b98cf9c /libavcodec/vp9.c
parent3b56fa85e8f50db83b54518ae31ebdb3f6b0cc39 (diff)
avutil/frame: Remove deprecated AVFrame.pkt_pts field
Deprecated in 32c8359093d1ff4f45ed19518b449b3ac3769d27. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/vp9.c')
-rw-r--r--libavcodec/vp9.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index 4659f94ee8..b4b644d509 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -1572,11 +1572,6 @@ static int vp9_decode_frame(AVCodecContext *avctx, void *frame,
if ((ret = av_frame_ref(frame, s->s.refs[ref].f)) < 0)
return ret;
((AVFrame *)frame)->pts = pkt->pts;
-#if FF_API_PKT_PTS
-FF_DISABLE_DEPRECATION_WARNINGS
- ((AVFrame *)frame)->pkt_pts = pkt->pts;
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
((AVFrame *)frame)->pkt_dts = pkt->dts;
for (i = 0; i < 8; i++) {
if (s->next_refs[i].f->buf[0])