mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 08:12:44 +00:00
Use avio_tell() instead of url_ftell()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
420ebd1850
commit
93df511ec7
@ -252,7 +252,7 @@ static int wav_read_header(AVFormatContext *s,
|
|||||||
if (url_feof(pb))
|
if (url_feof(pb))
|
||||||
return -1;
|
return -1;
|
||||||
size = next_tag(pb, &tag);
|
size = next_tag(pb, &tag);
|
||||||
next_tag_ofs = url_ftell(pb) + size;
|
next_tag_ofs = avio_tell(pb) + size;
|
||||||
|
|
||||||
if (tag == MKTAG('f', 'm', 't', ' ')) {
|
if (tag == MKTAG('f', 'm', 't', ' ')) {
|
||||||
/* only parse the first 'fmt ' tag found */
|
/* only parse the first 'fmt ' tag found */
|
||||||
|
Loading…
Reference in New Issue
Block a user