mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-19 15:15:12 +08:00
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>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user