aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/soxenc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-28 14:57:54 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-03-03 14:15:03 +0100
commitf59d8ff8cd75796256344a5c635054427928c62d (patch)
tree2439f532e0149c535f41d71e59ea7e3122857421 /libavformat/soxenc.c
parente9e9139ceec2b27afaee41ba728996f8cf518d90 (diff)
downloadffmpeg-f59d8ff8cd75796256344a5c635054427928c62d.tar.gz
avio: avio_ prefix for url_fseek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060)
Diffstat (limited to 'libavformat/soxenc.c')
-rw-r--r--libavformat/soxenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/soxenc.c b/libavformat/soxenc.c
index 9c06dd7ea3..dbb2972ead 100644
--- a/libavformat/soxenc.c
+++ b/libavformat/soxenc.c
@@ -100,12 +100,12 @@ static int sox_write_trailer(AVFormatContext *s)
/* update number of samples */
int64_t file_size = url_ftell(pb);
int64_t num_samples = (file_size - sox->header_size - 4LL) >> 2LL;
- url_fseek(pb, 8, SEEK_SET);
+ avio_seek(pb, 8, SEEK_SET);
if (enc->codec_id == CODEC_ID_PCM_S32LE) {
avio_wl64(pb, num_samples);
} else
avio_wb64(pb, num_samples);
- url_fseek(pb, file_size, SEEK_SET);
+ avio_seek(pb, file_size, SEEK_SET);
put_flush_packet(pb);
}