aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/options.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-25 14:45:28 +0100
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:08 -0300
commit119ebd642a6ceeeb506f46aa229870aefa97794b (patch)
tree3367a4c5f3145058d9d214d5d15f6530a2d414cd /libavformat/options.c
parent131f2c2712479a44332866b442526abe97e0c316 (diff)
downloadffmpeg-119ebd642a6ceeeb506f46aa229870aefa97794b.tar.gz
avformat: Remove deprecated old open callbacks
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/options.c')
-rw-r--r--libavformat/options.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavformat/options.c b/libavformat/options.c
index 07403b533e..632d450c90 100644
--- a/libavformat/options.c
+++ b/libavformat/options.c
@@ -181,13 +181,6 @@ static int io_open_default(AVFormatContext *s, AVIOContext **pb,
av_log(s, loglevel, "Opening \'%s\' for %s\n", url, flags & AVIO_FLAG_WRITE ? "writing" : "reading");
-#if FF_API_OLD_OPEN_CALLBACKS
-FF_DISABLE_DEPRECATION_WARNINGS
- if (s->open_cb)
- return s->open_cb(s, pb, url, flags, &s->interrupt_callback, options);
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
-
return ffio_open_whitelist(pb, url, flags, &s->interrupt_callback, options, s->protocol_whitelist, s->protocol_blacklist);
}