diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-06 20:40:41 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-27 10:43:13 -0300 |
commit | 6e30b35b85b81c802e52a1078ec7a3097e353c6d (patch) | |
tree | ee16d29abe46a5d27abc8e42f051d5d44b98cf9c /libavcodec/gifdec.c | |
parent | 3b56fa85e8f50db83b54518ae31ebdb3f6b0cc39 (diff) | |
download | ffmpeg-6e30b35b85b81c802e52a1078ec7a3097e353c6d.tar.gz |
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/gifdec.c')
-rw-r--r-- | libavcodec/gifdec.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c index 1906a4c738..dffc860bbc 100644 --- a/libavcodec/gifdec.c +++ b/libavcodec/gifdec.c @@ -472,11 +472,6 @@ static int gif_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, A bytestream2_init(&s->gb, avpkt->data, avpkt->size); s->frame->pts = avpkt->pts; -#if FF_API_PKT_PTS -FF_DISABLE_DEPRECATION_WARNINGS - s->frame->pkt_pts = avpkt->pts; -FF_ENABLE_DEPRECATION_WARNINGS -#endif s->frame->pkt_dts = avpkt->dts; s->frame->pkt_duration = avpkt->duration; |