summaryrefslogtreecommitdiff
path: root/libavformat/aviobuf.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-08-07 17:12:40 -0300
committerMichael Niedermayer <michaelni@gmx.at>2014-08-08 00:48:22 +0200
commit5c3c67126feb046e25359096225507bf6dfe7b27 (patch)
tree369a7f063a7812bc17d3d0e5a01e8434ac39893b /libavformat/aviobuf.c
parentf1e626a3570c8367e096e655660a2f7be5673a86 (diff)
lavf/avio: rename url_feof() to avio_feof()
It's a public function and should use the avio_ namespace Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r--libavformat/aviobuf.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index c7e92032d2..946f249cf1 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -292,7 +292,7 @@ int64_t avio_size(AVIOContext *s)
return size;
}
-int url_feof(AVIOContext *s)
+int avio_feof(AVIOContext *s)
{
if(!s)
return 0;
@@ -303,6 +303,13 @@ int url_feof(AVIOContext *s)
return s->eof_reached;
}
+#if FF_API_URL_FEOF
+int url_feof(AVIOContext *s)
+{
+ return avio_feof(s);
+}
+#endif
+
void avio_wl32(AVIOContext *s, unsigned int val)
{
avio_w8(s, (uint8_t) val );