diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-17 07:41:19 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-20 20:33:05 -0400 |
commit | 447fe3369177c11a49a3d376cfa3a2be468ac913 (patch) | |
tree | ca13c805944ab0e9e976c925c2c103f00151226b /libavformat | |
parent | e42500cb4f5e51aec072fe1994c367823ca36f47 (diff) | |
download | ffmpeg-streaming-447fe3369177c11a49a3d376cfa3a2be468ac913.zip ffmpeg-streaming-447fe3369177c11a49a3d376cfa3a2be468ac913.tar.gz |
rmenc: replace avio_seek(0) with avio_tell()
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rmenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rmenc.c b/libavformat/rmenc.c index aa11744..6f8b093 100644 --- a/libavformat/rmenc.c +++ b/libavformat/rmenc.c @@ -436,7 +436,7 @@ static int rm_write_trailer(AVFormatContext *s) if (!url_is_streamed(s->pb)) { /* end of file: finish to write header */ - index_pos = avio_seek(pb, 0, SEEK_CUR); + index_pos = avio_tell(pb); data_size = index_pos - rm->data_pos; /* FIXME: write index */ |