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
0cb19c30
Commit
0cb19c30
authored
Apr 25, 2016
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/concatdec: clear extradata when inserting h264_mp4toannexb bsf.
Fix remuxing H.264-in-MP4 to Matroska, possibly others.
parent
b8fa374f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
concatdec.c
libavformat/concatdec.c
+6
-0
No files found.
libavformat/concatdec.c
View file @
0cb19c30
...
...
@@ -214,6 +214,12 @@ static int detect_stream_specific(AVFormatContext *avf, int idx)
if
(
!
cs
->
avctx
)
return
AVERROR
(
ENOMEM
);
/* This really should be part of the bsf work.
Note: input bitstream filtering will not work with bsf that
create extradata from the first packet. */
av_freep
(
&
st
->
codecpar
->
extradata
);
st
->
codecpar
->
extradata_size
=
0
;
ret
=
avcodec_parameters_to_context
(
cs
->
avctx
,
st
->
codecpar
);
if
(
ret
<
0
)
{
avcodec_free_context
(
&
cs
->
avctx
);
...
...
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