mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
lavf: replace all uses of url_fskip with avio_seek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit e356fc57a2e9887370caec58d8aafeafd1f336dc)
This commit is contained in:

committed by
Michael Niedermayer

parent
f59d8ff8cd
commit
74b3f67c9c
@ -239,7 +239,7 @@ static int ape_read_header(AVFormatContext * s, AVFormatParameters * ap)
|
||||
|
||||
/* Skip any stored wav header */
|
||||
if (!(ape->formatflags & MAC_FORMAT_FLAG_CREATE_WAV_HEADER))
|
||||
url_fskip(pb, ape->wavheaderlength);
|
||||
avio_seek(pb, ape->wavheaderlength, SEEK_CUR);
|
||||
}
|
||||
|
||||
if(ape->totalframes > UINT_MAX / sizeof(APEFrame)){
|
||||
|
Reference in New Issue
Block a user