Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
6cf69f0e
Commit
6cf69f0e
authored
Dec 31, 2019
by
Andreas Rheinhardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/matroskaenc: Cosmetics
Signed-off-by:
Andreas Rheinhardt
<
andreas.rheinhardt@gmail.com
>
parent
b1c3d711
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
matroskaenc.c
libavformat/matroskaenc.c
+3
-4
No files found.
libavformat/matroskaenc.c
View file @
6cf69f0e
...
...
@@ -450,7 +450,6 @@ static int mkv_write_seekhead(AVIOContext *pb, MatroskaMuxContext *mkv,
{
AVIOContext
*
dyn_cp
;
mkv_seekhead
*
seekhead
=
&
mkv
->
seekhead
;
ebml_master
seekentry
;
int64_t
remaining
,
ret64
;
int
i
,
ret
;
...
...
@@ -463,8 +462,8 @@ static int mkv_write_seekhead(AVIOContext *pb, MatroskaMuxContext *mkv,
for
(
i
=
0
;
i
<
seekhead
->
num_entries
;
i
++
)
{
mkv_seekhead_entry
*
entry
=
&
seekhead
->
entries
[
i
];
seekentry
=
start_ebml_master
(
dyn_cp
,
MATROSKA_ID_SEEKENTRY
,
MAX_SEEKENTRY_SIZE
);
ebml_master
seekentry
=
start_ebml_master
(
dyn_cp
,
MATROSKA_ID_SEEKENTRY
,
MAX_SEEKENTRY_SIZE
);
put_ebml_id
(
dyn_cp
,
MATROSKA_ID_SEEKID
);
put_ebml_num
(
dyn_cp
,
ebml_id_size
(
entry
->
elementid
),
0
);
...
...
@@ -476,7 +475,7 @@ static int mkv_write_seekhead(AVIOContext *pb, MatroskaMuxContext *mkv,
end_ebml_master_crc32
(
pb
,
&
dyn_cp
,
mkv
);
remaining
=
seekhead
->
filepos
+
seekhead
->
reserved_size
-
avio_tell
(
pb
);
put_ebml_void
(
pb
,
remaining
);
put_ebml_void
(
pb
,
remaining
);
if
((
ret64
=
avio_seek
(
pb
,
destpos
,
SEEK_SET
))
<
0
)
return
ret64
;
...
...
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