diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-01-10 12:18:29 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-05-22 15:27:55 +0200 |
commit | 9d4c018497c7fb989dc68baeaf53a04aa1d7bd01 (patch) | |
tree | 0607ddfda0fc315e53753781f19066d209dd3096 /libavformat/avio.c | |
parent | f27e3ccf06ee19935d160164ca4a02f28cfc2a27 (diff) | |
download | ffmpeg-9d4c018497c7fb989dc68baeaf53a04aa1d7bd01.tar.gz |
avio: do not export avpriv_io_{move,delete}
They are private and not used by anything outside of lavf. There is no
reason for them to be exported.
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r-- | libavformat/avio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index 2974f4b2b4..ab3079116e 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -487,7 +487,7 @@ int avio_check(const char *url, int flags) return ret; } -int avpriv_io_move(const char *url_src, const char *url_dst) +int ffurl_move(const char *url_src, const char *url_dst) { URLContext *h_src, *h_dst; int ret = ffurl_alloc(&h_src, url_src, AVIO_FLAG_READ_WRITE, NULL); @@ -509,7 +509,7 @@ int avpriv_io_move(const char *url_src, const char *url_dst) return ret; } -int avpriv_io_delete(const char *url) +int ffurl_delete(const char *url) { URLContext *h; int ret = ffurl_alloc(&h, url, AVIO_FLAG_WRITE, NULL); @@ -661,7 +661,7 @@ int ff_check_interrupt(AVIOInterruptCB *cb) int ff_rename(const char *url_src, const char *url_dst, void *logctx) { - int ret = avpriv_io_move(url_src, url_dst); + int ret = ffurl_move(url_src, url_dst); if (ret < 0) av_log(logctx, AV_LOG_ERROR, "failed to rename file %s to %s: %s\n", url_src, url_dst, av_err2str(ret)); return ret; |