diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-03 20:11:45 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-04 11:26:57 -0500 |
commit | a2704c9712ad35cc22e7e0d8a79b581c07fa383b (patch) | |
tree | ebf5a27a98dbd52d983e38e901661f7525b38e9a /libavformat/movenchint.c | |
parent | e16ead0716c2f988d1e26369a4c67b354ff86134 (diff) | |
download | ffmpeg-a2704c9712ad35cc22e7e0d8a79b581c07fa383b.tar.gz |
avio: add avio_tell macro as a replacement for url_ftell
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/movenchint.c')
-rw-r--r-- | libavformat/movenchint.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/movenchint.c b/libavformat/movenchint.c index e6f74cdb0f..21793cdd47 100644 --- a/libavformat/movenchint.c +++ b/libavformat/movenchint.c @@ -316,7 +316,7 @@ static int write_hint_packets(AVIOContext *out, const uint8_t *data, int64_t count_pos, entries_pos; int count = 0, entries; - count_pos = url_ftell(out); + count_pos = avio_tell(out); /* RTPsample header */ avio_wb16(out, 0); /* packet count */ avio_wb16(out, 0); /* reserved */ @@ -358,7 +358,7 @@ static int write_hint_packets(AVIOContext *out, const uint8_t *data, avio_write(out, data, 2); /* RTP header */ avio_wb16(out, seq); /* RTPsequenceseed */ avio_wb16(out, 0); /* reserved + flags */ - entries_pos = url_ftell(out); + entries_pos = avio_tell(out); avio_wb16(out, 0); /* entry count */ data += 12; @@ -371,13 +371,13 @@ static int write_hint_packets(AVIOContext *out, const uint8_t *data, data += packet_len; size -= packet_len; - curpos = url_ftell(out); + curpos = avio_tell(out); avio_seek(out, entries_pos, SEEK_SET); avio_wb16(out, entries); avio_seek(out, curpos, SEEK_SET); } - curpos = url_ftell(out); + curpos = avio_tell(out); avio_seek(out, count_pos, SEEK_SET); avio_wb16(out, count); avio_seek(out, curpos, SEEK_SET); |