aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/bink.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-28 14:57:54 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-03-03 14:15:03 +0100
commitf59d8ff8cd75796256344a5c635054427928c62d (patch)
tree2439f532e0149c535f41d71e59ea7e3122857421 /libavformat/bink.c
parente9e9139ceec2b27afaee41ba728996f8cf518d90 (diff)
downloadffmpeg-f59d8ff8cd75796256344a5c635054427928c62d.tar.gz
avio: avio_ prefix for url_fseek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060)
Diffstat (limited to 'libavformat/bink.c')
-rw-r--r--libavformat/bink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/bink.c b/libavformat/bink.c
index 79c3a25ec5..f76d7b987a 100644
--- a/libavformat/bink.c
+++ b/libavformat/bink.c
@@ -225,7 +225,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
AV_RL32(pkt->data) / (2 * s->streams[bink->current_track]->codec->channels);
return 0;
} else {
- url_fseek(pb, audio_size, SEEK_CUR);
+ avio_seek(pb, audio_size, SEEK_CUR);
}
}
@@ -251,7 +251,7 @@ static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, in
return -1;
/* seek to the first frame */
- url_fseek(s->pb, vst->index_entries[0].pos, SEEK_SET);
+ avio_seek(s->pb, vst->index_entries[0].pos, SEEK_SET);
bink->video_pts = 0;
memset(bink->audio_pts, 0, sizeof(bink->audio_pts));
bink->current_track = -1;