forked from FFmpeg/FFmpeg
rmenc: replace avio_seek(0) with avio_tell()
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
parent
e42500cb4f
commit
447fe33691
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ static int rm_write_trailer(AVFormatContext *s)
|
||||||
|
|
||||||
if (!url_is_streamed(s->pb)) {
|
if (!url_is_streamed(s->pb)) {
|
||||||
/* end of file: finish to write header */
|
/* 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;
|
data_size = index_pos - rm->data_pos;
|
||||||
|
|
||||||
/* FIXME: write index */
|
/* FIXME: write index */
|
||||||
|
|
Loading…
Add table
Reference in a new issue