diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-21 22:45:20 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-23 18:22:03 +0100 |
commit | ebb92e076883f87cee2a3ddd4a7fe164f422f462 (patch) | |
tree | 884592f35c0a1e775c2393d1d535f26e648a8f8f /libavformat/aviobuf.c | |
parent | c24a40349693e50aa81ef68a4a522503ca504d50 (diff) | |
download | ffmpeg-ebb92e076883f87cee2a3ddd4a7fe164f422f462.tar.gz |
avio: rename url_fopen/fclose -> avio_open/close.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 22a3212e32b696028e21f00871f3cb48c044029d)
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index eb48758c46..270352ecb6 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -356,6 +356,15 @@ void put_nbyte(AVIOContext *s, int b, int count) { ffio_fill(s, b, count); } + +int url_fopen(AVIOContext **s, const char *filename, int flags) +{ + return avio_open(s, filename, flags); +} +int url_fclose(AVIOContext *s) +{ + return avio_close(s); +} #endif int avio_put_str(AVIOContext *s, const char *str) @@ -843,7 +852,7 @@ int ff_rewind_with_probe_data(AVIOContext *s, unsigned char *buf, int buf_size) return 0; } -int url_fopen(AVIOContext **s, const char *filename, int flags) +int avio_open(AVIOContext **s, const char *filename, int flags) { URLContext *h; int err; @@ -859,7 +868,7 @@ int url_fopen(AVIOContext **s, const char *filename, int flags) return 0; } -int url_fclose(AVIOContext *s) +int avio_close(AVIOContext *s) { URLContext *h = s->opaque; |