diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-28 14:57:55 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-01 12:22:16 -0500 |
commit | e356fc57a2e9887370caec58d8aafeafd1f336dc (patch) | |
tree | f500dfcba3ee9a3b24462d3fa33df8e654695814 /libavformat/swfdec.c | |
parent | 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060 (diff) | |
download | ffmpeg-e356fc57a2e9887370caec58d8aafeafd1f336dc.tar.gz |
lavf: replace all uses of url_fskip with avio_seek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/swfdec.c')
-rw-r--r-- | libavformat/swfdec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/swfdec.c b/libavformat/swfdec.c index c567f264f1..b96b229133 100644 --- a/libavformat/swfdec.c +++ b/libavformat/swfdec.c @@ -70,7 +70,7 @@ static int swf_read_header(AVFormatContext *s, AVFormatParameters *ap) /* skip rectangle size */ nbits = avio_r8(pb) >> 3; len = (4 * nbits - 3 + 7) / 8; - url_fskip(pb, len); + avio_seek(pb, len, SEEK_CUR); swf->frame_rate = avio_rl16(pb); /* 8.8 fixed */ avio_rl16(pb); /* frame count */ @@ -159,7 +159,7 @@ static int swf_read_packet(AVFormatContext *s, AVPacket *pkt) st = s->streams[i]; if (st->codec->codec_type == AVMEDIA_TYPE_AUDIO && st->id == -1) { if (st->codec->codec_id == CODEC_ID_MP3) { - url_fskip(pb, 4); + avio_seek(pb, 4, SEEK_CUR); av_get_packet(pb, pkt, len-4); } else { // ADPCM, PCM av_get_packet(pb, pkt, len); @@ -202,7 +202,7 @@ static int swf_read_packet(AVFormatContext *s, AVPacket *pkt) return pkt->size; } skip: - url_fskip(pb, len); + avio_seek(pb, len, SEEK_CUR); } return 0; } |