Commit 447fe336 authored by Anton Khirnov's avatar Anton Khirnov Committed by Ronald S. Bultje
Browse files

rmenc: replace avio_seek(0) with avio_tell()


Signed-off-by: default avatarRonald S. Bultje <rsbultje@gmail.com>
parent e42500cb
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment