aboutsummaryrefslogtreecommitdiff
path: root/libavformat/dxa.c
diff options
context:
space:
mode:
authorAnton Khirnov2011-02-28 14:57:54 +0100
committerMichael Niedermayer2011-03-03 14:15:03 +0100
commitf59d8ff8cd75796256344a5c635054427928c62d (patch)
tree2439f532e0149c535f41d71e59ea7e3122857421 /libavformat/dxa.c
parente9e9139ceec2b27afaee41ba728996f8cf518d90 (diff)
avio: avio_ prefix for url_fseek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060)
Diffstat (limited to 'libavformat/dxa.c')
-rw-r--r--libavformat/dxa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/dxa.c b/libavformat/dxa.c
index 188fc29d63..60ae92a048 100644
--- a/libavformat/dxa.c
+++ b/libavformat/dxa.c
@@ -115,7 +115,7 @@ static int dxa_read_header(AVFormatContext *s, AVFormatParameters *ap)
c->bpc = ((c->bpc + ast->codec->block_align - 1) / ast->codec->block_align) * ast->codec->block_align;
c->bytes_left = fsize;
c->wavpos = url_ftell(pb);
- url_fseek(pb, c->vidpos, SEEK_SET);
+ avio_seek(pb, c->vidpos, SEEK_SET);
}
/* now we are ready: build format streams */
@@ -151,7 +151,7 @@ static int dxa_read_packet(AVFormatContext *s, AVPacket *pkt)
if(!c->readvid && c->has_sound && c->bytes_left){
c->readvid = 1;
- url_fseek(s->pb, c->wavpos, SEEK_SET);
+ avio_seek(s->pb, c->wavpos, SEEK_SET);
size = FFMIN(c->bytes_left, c->bpc);
ret = av_get_packet(s->pb, pkt, size);
pkt->stream_index = 1;
@@ -161,7 +161,7 @@ static int dxa_read_packet(AVFormatContext *s, AVPacket *pkt)
c->wavpos = url_ftell(s->pb);
return 0;
}
- url_fseek(s->pb, c->vidpos, SEEK_SET);
+ avio_seek(s->pb, c->vidpos, SEEK_SET);
while(!url_feof(s->pb) && c->frames){
avio_read(s->pb, buf, 4);
switch(AV_RL32(buf)){