aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/aviobuf.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-28 14:57:56 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-03-03 14:15:09 +0100
commit813cc7abafad646522fbcf24c5ecd00412236381 (patch)
tree28dbf63cb9ec4b186d7cc6a8cb4bb390bbcf0b48 /libavformat/aviobuf.c
parent74b3f67c9c0a237843a3379391b9929e9bcfcb6e (diff)
downloadffmpeg-813cc7abafad646522fbcf24c5ecd00412236381.tar.gz
avio: deprecate url_fskip
avio_seek should be used instead Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 0300db8ad778a194b4a8ec98f6da3de5b41c46ee)
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r--libavformat/aviobuf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index a74ad21604..0c733a704b 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -233,11 +233,13 @@ int64_t avio_seek(AVIOContext *s, int64_t offset, int whence)
return offset;
}
+#if FF_API_OLD_AVIO
int url_fskip(AVIOContext *s, int64_t offset)
{
int64_t ret = avio_seek(s, offset, SEEK_CUR);
return ret < 0 ? ret : 0;
}
+#endif
int64_t url_ftell(AVIOContext *s)
{