mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
Rename remaining url_fskip to avio_skip.
This commit is contained in:
parent
b04ee90043
commit
7b79305a47
@ -73,7 +73,7 @@ static int read_header(AVFormatContext *s,
|
||||
if (!st)
|
||||
return AVERROR(ENOMEM);
|
||||
|
||||
url_fskip(pb, 16);
|
||||
avio_skip(pb, 16);
|
||||
size=get_le32(pb);
|
||||
ff_get_wav_header(pb, st->codec, size);
|
||||
|
||||
@ -188,7 +188,7 @@ static int read_packet(AVFormatContext *s,
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -178,7 +178,7 @@ static int xbin_read_header(AVFormatContext *s,
|
||||
if (!st)
|
||||
return AVERROR(ENOMEM);
|
||||
|
||||
url_fskip(pb, 5);
|
||||
avio_skip(pb, 5);
|
||||
st->codec->width = get_le16(pb)<<3;
|
||||
st->codec->height = get_le16(pb);
|
||||
fontheight = avio_r8(pb);
|
||||
@ -235,7 +235,7 @@ static int adf_read_header(AVFormatContext *s,
|
||||
|
||||
if (avio_read(pb, st->codec->extradata + 2, 24) < 0)
|
||||
return AVERROR(EIO);
|
||||
url_fskip(pb, 144);
|
||||
avio_skip(pb, 144);
|
||||
if (avio_read(pb, st->codec->extradata + 2 + 24, 24) < 0)
|
||||
return AVERROR(EIO);
|
||||
if (avio_read(pb, st->codec->extradata + 2 + 48, 4096) < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user