diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-14 20:38:59 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-21 14:54:52 -0400 |
commit | 933e90a69a4b9c558d4fae9dffb15378910481d3 (patch) | |
tree | 5d69d266003c5cd2869114bfe2b909bd24f2092b /libavformat/aviobuf.c | |
parent | f44d6445b7a189fde27ca0e95c7eb08f697e109f (diff) | |
download | ffmpeg-933e90a69a4b9c558d4fae9dffb15378910481d3.tar.gz |
avio: make av_url_read_fseek/fpause internal.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index 9f0f292aff..bb417e0506 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -397,6 +397,15 @@ void put_flush_packet(AVIOContext *s) { avio_flush(s); } +int av_url_read_fpause(AVIOContext *s, int pause) +{ + return ffio_read_pause(s, pause); +} +int64_t av_url_read_fseek(AVIOContext *s, int stream_index, + int64_t timestamp, int flags) +{ + return ffio_read_seek(s, stream_index, timestamp, flags); +} #endif int avio_put_str(AVIOContext *s, const char *str) @@ -971,15 +980,15 @@ int url_fget_max_packet_size(AVIOContext *s) } #endif -int av_url_read_fpause(AVIOContext *s, int pause) +int ffio_read_pause(AVIOContext *s, int pause) { if (!s->read_pause) return AVERROR(ENOSYS); return s->read_pause(s->opaque, pause); } -int64_t av_url_read_fseek(AVIOContext *s, int stream_index, - int64_t timestamp, int flags) +int64_t ffio_read_seek(AVIOContext *s, int stream_index, + int64_t timestamp, int flags) { URLContext *h = s->opaque; int64_t ret; |