summaryrefslogtreecommitdiff
path: root/libavformat/ingenientdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-28 14:57:55 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2011-03-01 12:22:16 -0500
commite356fc57a2e9887370caec58d8aafeafd1f336dc (patch)
treef500dfcba3ee9a3b24462d3fa33df8e654695814 /libavformat/ingenientdec.c
parent6b4aa5dac8f41aa452d0ce9a1bede9e59a303060 (diff)
lavf: replace all uses of url_fskip with avio_seek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/ingenientdec.c')
-rw-r--r--libavformat/ingenientdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/ingenientdec.c b/libavformat/ingenientdec.c
index dbb3f3bfd2..9f7065ce5d 100644
--- a/libavformat/ingenientdec.c
+++ b/libavformat/ingenientdec.c
@@ -35,11 +35,11 @@ static int ingenient_read_packet(AVFormatContext *s, AVPacket *pkt)
w = avio_rl16(s->pb);
h = avio_rl16(s->pb);
- url_fskip(s->pb, 8); // zero + size (padded?)
- url_fskip(s->pb, 2);
+ avio_seek(s->pb, 8, SEEK_CUR); // zero + size (padded?)
+ avio_seek(s->pb, 2, SEEK_CUR);
unk1 = avio_rl16(s->pb);
unk2 = avio_rl16(s->pb);
- url_fskip(s->pb, 22); // ASCII timestamp
+ avio_seek(s->pb, 22, SEEK_CUR); // ASCII timestamp
av_log(s, AV_LOG_DEBUG, "Ingenient packet: size=%d, width=%d, height=%d, unk1=%d unk2=%d\n",
size, w, h, unk1, unk2);