diff options
author | James Almer <jamrial@gmail.com> | 2024-01-20 10:48:39 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-03-07 08:53:30 -0300 |
commit | d6799ee0e41dee35ebf9c664173aed8e3ab24141 (patch) | |
tree | cb1fc69b085144f84c26cb02e9ae6f9cebb628b8 /libavformat/options.c | |
parent | aaefe47913c01cf4126b5fd4f53a5e8ecceade4d (diff) | |
download | ffmpeg-d6799ee0e41dee35ebf9c664173aed8e3ab24141.tar.gz |
avformat: remove deprecated FF_API_AVFORMAT_IO_CLOSE
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/options.c')
-rw-r--r-- | libavformat/options.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libavformat/options.c b/libavformat/options.c index 0b3e9775d9..34d2c6e23b 100644 --- a/libavformat/options.c +++ b/libavformat/options.c @@ -152,13 +152,6 @@ static int io_open_default(AVFormatContext *s, AVIOContext **pb, return ffio_open_whitelist(pb, url, flags, &s->interrupt_callback, options, s->protocol_whitelist, s->protocol_blacklist); } -#if FF_API_AVFORMAT_IO_CLOSE -void ff_format_io_close_default(AVFormatContext *s, AVIOContext *pb) -{ - avio_close(pb); -} -#endif - static int io_close2_default(AVFormatContext *s, AVIOContext *pb) { return avio_close(pb); @@ -175,11 +168,6 @@ AVFormatContext *avformat_alloc_context(void) s = &si->pub; s->av_class = &av_format_context_class; s->io_open = io_open_default; -#if FF_API_AVFORMAT_IO_CLOSE -FF_DISABLE_DEPRECATION_WARNINGS - s->io_close = ff_format_io_close_default; -FF_ENABLE_DEPRECATION_WARNINGS -#endif s->io_close2= io_close2_default; av_opt_set_defaults(s); |