mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:21:11 +01:00
lavf: replace all uses of url_fskip with avio_seek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
parent
6b4aa5dac8
commit
e356fc57a2
62 changed files with 299 additions and 299 deletions
|
|
@ -62,9 +62,9 @@ static int aea_read_header(AVFormatContext *s,
|
|||
return AVERROR(ENOMEM);
|
||||
|
||||
/* Parse the amount of channels and skip to pos 2048(0x800) */
|
||||
url_fskip(s->pb, 264);
|
||||
avio_seek(s->pb, 264, SEEK_CUR);
|
||||
st->codec->channels = avio_r8(s->pb);
|
||||
url_fskip(s->pb, 1783);
|
||||
avio_seek(s->pb, 1783, SEEK_CUR);
|
||||
|
||||
|
||||
st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue