diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-28 14:57:56 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-01 12:27:08 -0500 |
commit | 0300db8ad778a194b4a8ec98f6da3de5b41c46ee (patch) | |
tree | 65163265c70e15ae8f5d146569d8699397ba57d0 /libavformat/aviobuf.c | |
parent | e356fc57a2e9887370caec58d8aafeafd1f336dc (diff) | |
download | ffmpeg-streaming-0300db8ad778a194b4a8ec98f6da3de5b41c46ee.zip ffmpeg-streaming-0300db8ad778a194b4a8ec98f6da3de5b41c46ee.tar.gz |
avio: deprecate url_fskip
avio_seek should be used instead
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index a74ad21..0c733a7 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) { |