Commit 7b79305a authored by Clément Bœsch's avatar Clément Bœsch

Rename remaining url_fskip to avio_skip.

parent b04ee900
...@@ -73,7 +73,7 @@ static int read_header(AVFormatContext *s, ...@@ -73,7 +73,7 @@ static int read_header(AVFormatContext *s,
if (!st) if (!st)
return AVERROR(ENOMEM); return AVERROR(ENOMEM);
url_fskip(pb, 16); avio_skip(pb, 16);
size=get_le32(pb); size=get_le32(pb);
ff_get_wav_header(pb, st->codec, size); ff_get_wav_header(pb, st->codec, size);
...@@ -188,7 +188,7 @@ static int read_packet(AVFormatContext *s, ...@@ -188,7 +188,7 @@ static int read_packet(AVFormatContext *s,
if(ctx->bytes_left_in_chunk < frame_size) if(ctx->bytes_left_in_chunk < frame_size)
{ {
url_fskip(pb, ctx->bytes_left_in_chunk); avio_skip(pb, ctx->bytes_left_in_chunk);
ctx->bytes_left_in_chunk=CHUNK_SIZE; ctx->bytes_left_in_chunk=CHUNK_SIZE;
} }
......
...@@ -178,7 +178,7 @@ static int xbin_read_header(AVFormatContext *s, ...@@ -178,7 +178,7 @@ static int xbin_read_header(AVFormatContext *s,
if (!st) if (!st)
return AVERROR(ENOMEM); return AVERROR(ENOMEM);
url_fskip(pb, 5); avio_skip(pb, 5);
st->codec->width = get_le16(pb)<<3; st->codec->width = get_le16(pb)<<3;
st->codec->height = get_le16(pb); st->codec->height = get_le16(pb);
fontheight = avio_r8(pb); fontheight = avio_r8(pb);
...@@ -235,7 +235,7 @@ static int adf_read_header(AVFormatContext *s, ...@@ -235,7 +235,7 @@ static int adf_read_header(AVFormatContext *s,
if (avio_read(pb, st->codec->extradata + 2, 24) < 0) if (avio_read(pb, st->codec->extradata + 2, 24) < 0)
return AVERROR(EIO); return AVERROR(EIO);
url_fskip(pb, 144); avio_skip(pb, 144);
if (avio_read(pb, st->codec->extradata + 2 + 24, 24) < 0) if (avio_read(pb, st->codec->extradata + 2 + 24, 24) < 0)
return AVERROR(EIO); return AVERROR(EIO);
if (avio_read(pb, st->codec->extradata + 2 + 48, 4096) < 0) if (avio_read(pb, st->codec->extradata + 2 + 48, 4096) < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment