summaryrefslogtreecommitdiff
path: root/libavformat/ingenientdec.c
diff options
context:
space:
mode:
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 eb24da9cac..eb1e6f6521 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);
- avio_seek(s->pb, 8, SEEK_CUR); // zero + size (padded?)
- avio_seek(s->pb, 2, SEEK_CUR);
+ avio_skip(s->pb, 8); // zero + size (padded?)
+ avio_skip(s->pb, 2);
unk1 = avio_rl16(s->pb);
unk2 = avio_rl16(s->pb);
- avio_seek(s->pb, 22, SEEK_CUR); // ASCII timestamp
+ avio_skip(s->pb, 22); // 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);