summaryrefslogtreecommitdiff
path: root/libavformat/segment.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-01-20 10:48:39 -0300
committerJames Almer <jamrial@gmail.com>2024-03-07 08:53:30 -0300
commitd6799ee0e41dee35ebf9c664173aed8e3ab24141 (patch)
treecb1fc69b085144f84c26cb02e9ae6f9cebb628b8 /libavformat/segment.c
parentaaefe47913c01cf4126b5fd4f53a5e8ecceade4d (diff)
avformat: remove deprecated FF_API_AVFORMAT_IO_CLOSE
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/segment.c')
-rw-r--r--libavformat/segment.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c
index d6100c22ea..a38baa4f23 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -160,11 +160,6 @@ static int segment_mux_init(AVFormatContext *s)
oc->max_delay = s->max_delay;
av_dict_copy(&oc->metadata, s->metadata, 0);
oc->opaque = s->opaque;
-#if FF_API_AVFORMAT_IO_CLOSE
-FF_DISABLE_DEPRECATION_WARNINGS
- oc->io_close = s->io_close;
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
oc->io_close2 = s->io_close2;
oc->io_open = s->io_open;
oc->flags = s->flags;