diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-23 18:24:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-29 16:30:43 +0200 |
commit | da8b228977406b1be95d7881e38651f4e61d1fc6 (patch) | |
tree | 89260448305a78ef483a80cee8bf0eb65ea95853 /libavformat | |
parent | f6ab967eae497733f6adc12b30075980fd6eea98 (diff) | |
download | ffmpeg-da8b228977406b1be95d7881e38651f4e61d1fc6.tar.gz |
avformat/avio: Move avio_delete() avio_move() to avpriv_ namespace
This was suggested in the discussion about these functions
With this change the functions are available internally but are not
part of the public API
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/avio.c | 4 | ||||
-rw-r--r-- | libavformat/avio.h | 4 | ||||
-rw-r--r-- | libavformat/version.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index aff8d10d4a..c188adcce1 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -421,7 +421,7 @@ int avio_check(const char *url, int flags) return ret; } -int avio_move(const char *url_src, const char *url_dst) +int avpriv_io_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); @@ -443,7 +443,7 @@ int avio_move(const char *url_src, const char *url_dst) return ret; } -int avio_delete(const char *url) +int avpriv_io_delete(const char *url) { URLContext *h; int ret = ffurl_alloc(&h, url, AVIO_FLAG_WRITE, NULL); diff --git a/libavformat/avio.h b/libavformat/avio.h index 5ac5d38568..d3d9bbd15e 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -238,7 +238,7 @@ int avio_check(const char *url, int flags); * @param url_dst new url to resource if the operation succeeded * @return >=0 on success or negative on error. */ -int avio_move(const char *url_src, const char *url_dst); +int avpriv_io_move(const char *url_src, const char *url_dst); /** * Delete a resource. @@ -246,7 +246,7 @@ int avio_move(const char *url_src, const char *url_dst); * @param url resource to be deleted. * @return >=0 on success or negative on error. */ -int avio_delete(const char *url); +int avpriv_io_delete(const char *url); /** * Open directory for reading. diff --git a/libavformat/version.h b/libavformat/version.h index a6d368ec0f..5efc934107 100644 --- a/libavformat/version.h +++ b/libavformat/version.h @@ -31,7 +31,7 @@ #define LIBAVFORMAT_VERSION_MAJOR 56 #define LIBAVFORMAT_VERSION_MINOR 39 -#define LIBAVFORMAT_VERSION_MICRO 100 +#define LIBAVFORMAT_VERSION_MICRO 101 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ LIBAVFORMAT_VERSION_MINOR, \ |