[FFmpeg-cvslog] Use avio_tell() instead of url_ftell()

Tomas Härdin git at videolan.org
Wed May 18 18:59:08 CEST 2011


ffmpeg | branch: master | Tomas Härdin <tomas.hardin at codemill.se> | Wed May 18 13:47:23 2011 +0200| [93df511ec78a190a35b66f22e3a151f1b646a19a] | committer: Michael Niedermayer

Use avio_tell() instead of url_ftell()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=93df511ec78a190a35b66f22e3a151f1b646a19a
---

 libavformat/wav.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/wav.c b/libavformat/wav.c
index 6b1e574..1296ccb 100644
--- a/libavformat/wav.c
+++ b/libavformat/wav.c
@@ -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 */



More information about the ffmpeg-cvslog mailing list