diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-28 16:57:55 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-01 20:22:16 +0300 |
commit | e356fc57a2e9887370caec58d8aafeafd1f336dc (patch) | |
tree | f500dfcba3ee9a3b24462d3fa33df8e654695814 /libavformat/vocdec.c | |
parent | 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060 (diff) |
lavf: replace all uses of url_fskip with avio_seek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/vocdec.c')
-rw-r--r-- | libavformat/vocdec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/vocdec.c b/libavformat/vocdec.c index 01bbdb2c62..cb496bf7c2 100644 --- a/libavformat/vocdec.c +++ b/libavformat/vocdec.c @@ -45,13 +45,13 @@ static int voc_read_header(AVFormatContext *s, AVFormatParameters *ap) int header_size; AVStream *st; - url_fskip(pb, 20); + avio_seek(pb, 20, SEEK_CUR); header_size = avio_rl16(pb) - 22; if (header_size != 4) { av_log(s, AV_LOG_ERROR, "unknown header size: %d\n", header_size); return AVERROR(ENOSYS); } - url_fskip(pb, header_size); + avio_seek(pb, header_size, SEEK_CUR); st = av_new_stream(s, 0); if (!st) return AVERROR(ENOMEM); @@ -114,13 +114,13 @@ voc_get_packet(AVFormatContext *s, AVPacket *pkt, AVStream *st, int max_size) dec->bits_per_coded_sample = avio_r8(pb); dec->channels = avio_r8(pb); tmp_codec = avio_rl16(pb); - url_fskip(pb, 4); + avio_seek(pb, 4, SEEK_CUR); voc->remaining_size -= 12; max_size -= 12; break; default: - url_fskip(pb, voc->remaining_size); + avio_seek(pb, voc->remaining_size, SEEK_CUR); max_size -= voc->remaining_size; voc->remaining_size = 0; break; |