Browse Source

Use avio_tell() instead of url_ftell()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.8
Tomas Härdin Michael Niedermayer 14 years ago
parent
commit
93df511ec7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/wav.c

+ 1
- 1
libavformat/wav.c View File

@@ -252,7 +252,7 @@ static int wav_read_header(AVFormatContext *s,
if (url_feof(pb))
return -1;
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', ' ')) {
/* only parse the first 'fmt ' tag found */


Loading…
Cancel
Save