summaryrefslogtreecommitdiff
path: root/libavformat/wv.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-28 14:57:55 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2011-03-01 12:22:16 -0500
commite356fc57a2e9887370caec58d8aafeafd1f336dc (patch)
treef500dfcba3ee9a3b24462d3fa33df8e654695814 /libavformat/wv.c
parent6b4aa5dac8f41aa452d0ce9a1bede9e59a303060 (diff)
lavf: replace all uses of url_fskip with avio_seek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/wv.c')
-rw-r--r--libavformat/wv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/wv.c b/libavformat/wv.c
index c2ef8d6356..7a2c855f9d 100644
--- a/libavformat/wv.c
+++ b/libavformat/wv.c
@@ -153,7 +153,7 @@ static int wv_read_block_header(AVFormatContext *ctx, AVIOContext *pb, int appen
chmask = avio_rl32(pb);
break;
case 5:
- url_fskip(pb, 1);
+ avio_seek(pb, 1, SEEK_CUR);
chan |= (avio_r8(pb) & 0xF) << 8;
chmask = avio_rl24(pb);
break;
@@ -166,10 +166,10 @@ static int wv_read_block_header(AVFormatContext *ctx, AVIOContext *pb, int appen
rate = avio_rl24(pb);
break;
default:
- url_fskip(pb, size);
+ avio_seek(pb, size, SEEK_CUR);
}
if(id&0x40)
- url_fskip(pb, 1);
+ avio_seek(pb, 1, SEEK_CUR);
}
if(rate == -1){
av_log(ctx, AV_LOG_ERROR, "Cannot determine custom sampling rate\n");