Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
dcbd89e0
Commit
dcbd89e0
authored
Sep 12, 2018
by
Sigga Regina
Committed by
James Almer
Oct 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/matroskaenc: reserve free space for metadata on request
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
d7027692
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
matroskaenc.c
libavformat/matroskaenc.c
+7
-0
version.h
libavformat/version.h
+1
-1
No files found.
libavformat/matroskaenc.c
View file @
dcbd89e0
...
...
@@ -2012,6 +2012,13 @@ static int mkv_write_header(AVFormatContext *s)
ret
=
AVERROR
(
ENOMEM
);
goto
fail
;
}
if
(
s
->
metadata_header_padding
>
0
)
{
if
(
s
->
metadata_header_padding
==
1
)
s
->
metadata_header_padding
++
;
put_ebml_void
(
pb
,
s
->
metadata_header_padding
);
}
if
((
pb
->
seekable
&
AVIO_SEEKABLE_NORMAL
)
&&
mkv
->
reserve_cues_space
)
{
mkv
->
cues_pos
=
avio_tell
(
pb
);
if
(
mkv
->
reserve_cues_space
==
1
)
...
...
libavformat/version.h
View file @
dcbd89e0
...
...
@@ -33,7 +33,7 @@
// Also please add any ticket numbers that you believe might be affected here
#define LIBAVFORMAT_VERSION_MAJOR 58
#define LIBAVFORMAT_VERSION_MINOR 18
#define LIBAVFORMAT_VERSION_MICRO 10
3
#define LIBAVFORMAT_VERSION_MICRO 10
4
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \
...
...
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