aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/yop.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-28 14:57:55 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-03-03 14:15:08 +0100
commit74b3f67c9c0a237843a3379391b9929e9bcfcb6e (patch)
tree091bff9913be9ca258a72dfc0b11a91c424b1243 /libavformat/yop.c
parentf59d8ff8cd75796256344a5c635054427928c62d (diff)
downloadffmpeg-74b3f67c9c0a237843a3379391b9929e9bcfcb6e.tar.gz
lavf: replace all uses of url_fskip with avio_seek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit e356fc57a2e9887370caec58d8aafeafd1f336dc)
Diffstat (limited to 'libavformat/yop.c')
-rw-r--r--libavformat/yop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/yop.c b/libavformat/yop.c
index 0c87724c53..e4437b7a0e 100644
--- a/libavformat/yop.c
+++ b/libavformat/yop.c
@@ -81,7 +81,7 @@ static int yop_read_header(AVFormatContext *s, AVFormatParameters *ap)
video_dec->codec_type = AVMEDIA_TYPE_VIDEO;
video_dec->codec_id = CODEC_ID_YOP;
- url_fskip(pb, 6);
+ avio_seek(pb, 6, SEEK_CUR);
frame_rate = avio_r8(pb);
yop->frame_size = avio_r8(pb) * 2048;
@@ -153,7 +153,7 @@ static int yop_read_packet(AVFormatContext *s, AVPacket *pkt)
// Set position to the start of the frame
pkt->pos = yop->video_packet.pos;
- url_fskip(pb, yop->audio_block_length - ret);
+ avio_seek(pb, yop->audio_block_length - ret, SEEK_CUR);
ret = avio_read(pb, yop->video_packet.data + yop->palette_size,
actual_video_data_size);