From 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 28 Feb 2011 14:57:54 +0100 Subject: avio: avio_ prefix for url_fseek Signed-off-by: Ronald S. Bultje --- libavformat/yop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/yop.c') diff --git a/libavformat/yop.c b/libavformat/yop.c index 2e58cc660a..0c87724c53 100644 --- a/libavformat/yop.c +++ b/libavformat/yop.c @@ -104,7 +104,7 @@ static int yop_read_header(AVFormatContext *s, AVFormatParameters *ap) return AVERROR_INVALIDDATA; } - url_fseek(pb, 2048, SEEK_SET); + avio_seek(pb, 2048, SEEK_SET); av_set_pts_info(video_stream, 32, 1, frame_rate); @@ -198,7 +198,7 @@ static int yop_read_seek(AVFormatContext *s, int stream_index, frame_pos = timestamp * yop->frame_size + pos_min; yop->odd_frame = timestamp & 1; - url_fseek(s->pb, frame_pos, SEEK_SET); + avio_seek(s->pb, frame_pos, SEEK_SET); return 0; } -- cgit v1.2.3