From e356fc57a2e9887370caec58d8aafeafd1f336dc Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 28 Feb 2011 14:57:55 +0100 Subject: lavf: replace all uses of url_fskip with avio_seek Signed-off-by: Ronald S. Bultje --- libavformat/dxa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/dxa.c') diff --git a/libavformat/dxa.c b/libavformat/dxa.c index 60ae92a048..695ca959e1 100644 --- a/libavformat/dxa.c +++ b/libavformat/dxa.c @@ -96,7 +96,7 @@ static int dxa_read_header(AVFormatContext *s, AVFormatParameters *ap) c->has_sound = 1; size = avio_rb32(pb); c->vidpos = url_ftell(pb) + size; - url_fskip(pb, 16); + avio_seek(pb, 16, SEEK_CUR); fsize = avio_rl32(pb); ast = av_new_stream(s, 0); @@ -108,7 +108,7 @@ static int dxa_read_header(AVFormatContext *s, AVFormatParameters *ap) tag = avio_rl32(pb); fsize = avio_rl32(pb); if(tag == MKTAG('d', 'a', 't', 'a')) break; - url_fskip(pb, fsize); + avio_seek(pb, fsize, SEEK_CUR); } c->bpc = (fsize + c->frames - 1) / c->frames; if(ast->codec->block_align) -- cgit v1.2.3