diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-28 16:57:54 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-01 20:12:33 +0300 |
commit | 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060 (patch) | |
tree | a2790d8f7304a735dc8edf52207b823ceb73a7da /libavformat/sierravmd.c | |
parent | 76d8846c4e918749b045ea2ee7399a069af5e4a5 (diff) |
avio: avio_ prefix for url_fseek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/sierravmd.c')
-rw-r--r-- | libavformat/sierravmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/sierravmd.c b/libavformat/sierravmd.c index 323938639c..778746594a 100644 --- a/libavformat/sierravmd.c +++ b/libavformat/sierravmd.c @@ -95,7 +95,7 @@ static int vmd_read_header(AVFormatContext *s, int sound_buffers; /* fetch the main header, including the 2 header length bytes */ - url_fseek(pb, 0, SEEK_SET); + avio_seek(pb, 0, SEEK_SET); if (avio_read(pb, vmd->vmd_header, VMD_HEADER_SIZE) != VMD_HEADER_SIZE) return AVERROR(EIO); @@ -155,7 +155,7 @@ static int vmd_read_header(AVFormatContext *s, toc_offset = AV_RL32(&vmd->vmd_header[812]); vmd->frame_count = AV_RL16(&vmd->vmd_header[6]); vmd->frames_per_block = AV_RL16(&vmd->vmd_header[18]); - url_fseek(pb, toc_offset, SEEK_SET); + avio_seek(pb, toc_offset, SEEK_SET); raw_frame_table = NULL; vmd->frame_table = NULL; @@ -243,7 +243,7 @@ static int vmd_read_packet(AVFormatContext *s, frame = &vmd->frame_table[vmd->current_frame]; /* position the stream (will probably be there already) */ - url_fseek(pb, frame->frame_offset, SEEK_SET); + avio_seek(pb, frame->frame_offset, SEEK_SET); if (av_new_packet(pkt, frame->frame_size + BYTES_PER_FRAME_RECORD)) return AVERROR(ENOMEM); |