mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
lavf: replace all uses of url_fskip with avio_seek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit e356fc57a2)
This commit is contained in:
parent
f59d8ff8cd
commit
74b3f67c9c
62 changed files with 299 additions and 299 deletions
|
|
@ -96,7 +96,7 @@ static int dxa_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
|||
c->has_sound = 1;
|
||||
size = avio_rb32(pb);
|
||||
c->vidpos = url_ftell(pb) + size;
|
||||
url_fskip(pb, 16);
|
||||
avio_seek(pb, 16, SEEK_CUR);
|
||||
fsize = avio_rl32(pb);
|
||||
|
||||
ast = av_new_stream(s, 0);
|
||||
|
|
@ -108,7 +108,7 @@ static int dxa_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
|||
tag = avio_rl32(pb);
|
||||
fsize = avio_rl32(pb);
|
||||
if(tag == MKTAG('d', 'a', 't', 'a')) break;
|
||||
url_fskip(pb, fsize);
|
||||
avio_seek(pb, fsize, SEEK_CUR);
|
||||
}
|
||||
c->bpc = (fsize + c->frames - 1) / c->frames;
|
||||
if(ast->codec->block_align)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue