diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-28 14:57:55 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-03-03 14:15:08 +0100 |
commit | 74b3f67c9c0a237843a3379391b9929e9bcfcb6e (patch) | |
tree | 091bff9913be9ca258a72dfc0b11a91c424b1243 /libavformat/soxdec.c | |
parent | f59d8ff8cd75796256344a5c635054427928c62d (diff) | |
download | ffmpeg-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/soxdec.c')
-rw-r--r-- | libavformat/soxdec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/soxdec.c b/libavformat/soxdec.c index b66883441b..6d99033f47 100644 --- a/libavformat/soxdec.c +++ b/libavformat/soxdec.c @@ -58,14 +58,14 @@ static int sox_read_header(AVFormatContext *s, if (avio_rl32(pb) == SOX_TAG) { st->codec->codec_id = CODEC_ID_PCM_S32LE; header_size = avio_rl32(pb); - url_fskip(pb, 8); /* sample count */ + avio_seek(pb, 8, SEEK_CUR); /* sample count */ sample_rate = av_int2dbl(avio_rl64(pb)); st->codec->channels = avio_rl32(pb); comment_size = avio_rl32(pb); } else { st->codec->codec_id = CODEC_ID_PCM_S32BE; header_size = avio_rb32(pb); - url_fskip(pb, 8); /* sample count */ + avio_seek(pb, 8, SEEK_CUR); /* sample count */ sample_rate = av_int2dbl(avio_rb64(pb)); st->codec->channels = avio_rb32(pb); comment_size = avio_rb32(pb); @@ -105,7 +105,7 @@ static int sox_read_header(AVFormatContext *s, AV_METADATA_DONT_STRDUP_VAL); } - url_fskip(pb, header_size - SOX_FIXED_HDR - comment_size); + avio_seek(pb, header_size - SOX_FIXED_HDR - comment_size, SEEK_CUR); st->codec->sample_rate = sample_rate; st->codec->bits_per_coded_sample = 32; |