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>tags/n2.8
| @@ -15,10 +15,6 @@ libavutil: 2014-08-09 | |||||
| API changes, most recent first: | API changes, most recent first: | ||||
| 2015-xx-xx - xxxxxxx - lavf 56.38.100 - avio.h url.h | |||||
| Add avio_move(), avio_delete(). | |||||
| Extend URLProtocol with url_move(), url_delete(). | |||||
| -------- 8< --------- FFmpeg 2.7 was cut here -------- 8< --------- | -------- 8< --------- FFmpeg 2.7 was cut here -------- 8< --------- | ||||
| 2015-06-04 - cc17b43 - lswr 1.2.100 | 2015-06-04 - cc17b43 - lswr 1.2.100 | ||||
| @@ -421,7 +421,7 @@ int avio_check(const char *url, int flags) | |||||
| return ret; | 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; | URLContext *h_src, *h_dst; | ||||
| int ret = ffurl_alloc(&h_src, url_src, AVIO_FLAG_READ_WRITE, NULL); | 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; | return ret; | ||||
| } | } | ||||
| int avio_delete(const char *url) | |||||
| int avpriv_io_delete(const char *url) | |||||
| { | { | ||||
| URLContext *h; | URLContext *h; | ||||
| int ret = ffurl_alloc(&h, url, AVIO_FLAG_WRITE, NULL); | int ret = ffurl_alloc(&h, url, AVIO_FLAG_WRITE, NULL); | ||||
| @@ -238,7 +238,7 @@ int avio_check(const char *url, int flags); | |||||
| * @param url_dst new url to resource if the operation succeeded | * @param url_dst new url to resource if the operation succeeded | ||||
| * @return >=0 on success or negative on error. | * @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. | * Delete a resource. | ||||
| @@ -246,7 +246,7 @@ int avio_move(const char *url_src, const char *url_dst); | |||||
| * @param url resource to be deleted. | * @param url resource to be deleted. | ||||
| * @return >=0 on success or negative on error. | * @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. | * Open directory for reading. | ||||
| @@ -31,7 +31,7 @@ | |||||
| #define LIBAVFORMAT_VERSION_MAJOR 56 | #define LIBAVFORMAT_VERSION_MAJOR 56 | ||||
| #define LIBAVFORMAT_VERSION_MINOR 39 | #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, \ | #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ | ||||
| LIBAVFORMAT_VERSION_MINOR, \ | LIBAVFORMAT_VERSION_MINOR, \ | ||||