summaryrefslogtreecommitdiff
path: root/libavformat/async.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-01-29 02:06:50 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-02 23:53:29 +0100
commit7b43646e18343eae65fc2d40f3423209b532f6a7 (patch)
treedbcfe2f7230fa11f209e01b2aedde0346630dddf /libavformat/async.c
parent5cad6c6e855b2ed2941426474b5b06f34dec9ce4 (diff)
avformat/avio: Remove ffurl_open
It is only used in commented-out (and nonworking) code in async.c. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/async.c')
-rw-r--r--libavformat/async.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/async.c b/libavformat/async.c
index cc11ec47a0..5a81507ef1 100644
--- a/libavformat/async.c
+++ b/libavformat/async.c
@@ -612,7 +612,8 @@ int main(void)
/*
* test normal read
*/
- ret = ffurl_open(&h, "async:async-test:", AVIO_FLAG_READ, NULL, NULL);
+ ret = ffurl_open_whitelist(&h, "async:async-test:", AVIO_FLAG_READ,
+ NULL, NULL, NULL, NULL, NULL);
printf("open: %d\n", ret);
size = ffurl_size(h);
@@ -688,7 +689,8 @@ int main(void)
*/
ffurl_close(h);
av_dict_set_int(&opts, "async-test-read-error", -10000, 0);
- ret = ffurl_open(&h, "async:async-test:", AVIO_FLAG_READ, NULL, &opts);
+ ret = ffurl_open_whitelist(&h, "async:async-test:", AVIO_FLAG_READ,
+ NULL, &opts, NULL, NULL, NULL);
printf("open: %d\n", ret);
ret = ffurl_read(h, buf, 1);