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
5781256c
Commit
5781256c
authored
Oct 11, 2016
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/matroskaenc: Always write V_QUICKTIME extradata.
Fixes ticket #5872.
parent
34aa1454
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
matroskaenc.c
libavformat/matroskaenc.c
+1
-3
version.h
libavformat/version.h
+1
-1
No files found.
libavformat/matroskaenc.c
View file @
5781256c
...
...
@@ -752,9 +752,8 @@ static int mkv_write_codecprivate(AVFormatContext *s, AVIOContext *pb,
if
(
!
par
->
codec_tag
)
par
->
codec_tag
=
ff_codec_get_tag
(
ff_codec_movvideo_tags
,
par
->
codec_id
);
if
(
par
->
extradata_size
)
{
if
(
ff_codec_get_id
(
ff_codec_movvideo_tags
,
par
->
codec_tag
)
==
par
->
codec_id
&&
ff_codec_get_id
(
ff_codec_movvideo_tags
,
AV_RL32
(
par
->
extradata
+
4
))
!=
par
->
codec_id
&&
(
!
par
->
extradata_size
||
ff_codec_get_id
(
ff_codec_movvideo_tags
,
AV_RL32
(
par
->
extradata
+
4
))
!=
par
->
codec_id
)
)
{
int
i
;
avio_wb32
(
dyn_cp
,
0x5a
+
par
->
extradata_size
);
...
...
@@ -763,7 +762,6 @@ static int mkv_write_codecprivate(AVFormatContext *s, AVIOContext *pb,
avio_w8
(
dyn_cp
,
0
);
}
avio_write
(
dyn_cp
,
par
->
extradata
,
par
->
extradata_size
);
}
}
else
{
if
(
!
ff_codec_get_tag
(
ff_codec_bmp_tags
,
par
->
codec_id
))
av_log
(
s
,
AV_LOG_WARNING
,
"codec %s is not supported by this format
\n
"
,
...
...
libavformat/version.h
View file @
5781256c
...
...
@@ -33,7 +33,7 @@
// Also please add any ticket numbers that you believe might be affected here
#define LIBAVFORMAT_VERSION_MAJOR 57
#define LIBAVFORMAT_VERSION_MINOR 51
#define LIBAVFORMAT_VERSION_MICRO 10
5
#define LIBAVFORMAT_VERSION_MICRO 10
6
#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