Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
447fe336
Commit
447fe336
authored
Mar 17, 2011
by
Anton Khirnov
Committed by
Ronald S. Bultje
Mar 20, 2011
Browse files
rmenc: replace avio_seek(0) with avio_tell()
Signed-off-by:
Ronald S. Bultje
<
rsbultje@gmail.com
>
parent
e42500cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libavformat/rmenc.c
libavformat/rmenc.c
+1
-1
No files found.
libavformat/rmenc.c
View file @
447fe336
...
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment