diff options
author | Anton Khirnov | 2011-02-28 14:57:54 +0100 |
---|---|---|
committer | Ronald S. Bultje | 2011-03-01 12:12:33 -0500 |
commit | 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060 (patch) | |
tree | a2790d8f7304a735dc8edf52207b823ceb73a7da /libavformat/rmdec.c | |
parent | 76d8846c4e918749b045ea2ee7399a069af5e4a5 (diff) |
avio: avio_ prefix for url_fseek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r-- | libavformat/rmdec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index c34d128e40..4d7c763db4 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -363,7 +363,7 @@ static int rm_read_index(AVFormatContext *s) skip: if (next_off && url_ftell(pb) != next_off && - url_fseek(pb, next_off, SEEK_SET) < 0) + avio_seek(pb, next_off, SEEK_SET) < 0) return -1; } while (next_off); @@ -482,9 +482,9 @@ static int rm_read_header(AVFormatContext *s, AVFormatParameters *ap) if (!data_off) data_off = url_ftell(pb) - 18; if (indx_off && !url_is_streamed(pb) && !(s->flags & AVFMT_FLAG_IGNIDX) && - url_fseek(pb, indx_off, SEEK_SET) >= 0) { + avio_seek(pb, indx_off, SEEK_SET) >= 0) { rm_read_index(s); - url_fseek(pb, data_off + 18, SEEK_SET); + avio_seek(pb, data_off + 18, SEEK_SET); } return 0; @@ -904,7 +904,7 @@ static int64_t rm_read_dts(AVFormatContext *s, int stream_index, if(rm->old_format) return AV_NOPTS_VALUE; - url_fseek(s->pb, pos, SEEK_SET); + avio_seek(s->pb, pos, SEEK_SET); rm->remaining_len=0; for(;;){ int seq=1; |