Use avio_tell() instead of url_ftell()
authorTomas Härdin <tomas.hardin@codemill.se>
Wed, 18 May 2011 11:47:23 +0000 (13:47 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 18 May 2011 16:27:07 +0000 (18:27 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/wav.c

index 6b1e574..1296ccb 100644 (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 */