aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/wav.c
diff options
context:
space:
mode:
authorTomas Härdin <tomas.hardin@codemill.se>2011-05-18 13:47:23 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-05-18 18:27:07 +0200
commit93df511ec78a190a35b66f22e3a151f1b646a19a (patch)
tree0a51eed3691d69c8c731e3759f958c76b02cdbff /libavformat/wav.c
parent420ebd1850de594cfdbb573237ba9e2df39946ad (diff)
downloadffmpeg-93df511ec78a190a35b66f22e3a151f1b646a19a.tar.gz
Use avio_tell() instead of url_ftell()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/wav.c')
-rw-r--r--libavformat/wav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wav.c b/libavformat/wav.c
index 6b1e574a6e..1296ccb0e7 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 */