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
257766a8
Commit
257766a8
authored
Jan 27, 2016
by
Derek Buitenhuis
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
9cce011b
'
Merged-by:
Derek Buitenhuis
<
derek.buitenhuis@gmail.com
>
parents
895b888f
9cce011b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
movenc-test.c
libavformat/movenc-test.c
+0
-2
No files found.
libavformat/movenc-test.c
View file @
257766a8
...
@@ -170,7 +170,6 @@ static void init_fps(int bf, int audio_preroll, int fps)
...
@@ -170,7 +170,6 @@ static void init_fps(int bf, int audio_preroll, int fps)
if
(
!
st
->
codec
->
extradata
)
if
(
!
st
->
codec
->
extradata
)
exit
(
1
);
exit
(
1
);
memcpy
(
st
->
codec
->
extradata
,
h264_extradata
,
sizeof
(
h264_extradata
));
memcpy
(
st
->
codec
->
extradata
,
h264_extradata
,
sizeof
(
h264_extradata
));
st
->
codec
->
flags
|=
AV_CODEC_FLAG_GLOBAL_HEADER
;
video_st
=
st
;
video_st
=
st
;
st
=
avformat_new_stream
(
ctx
,
NULL
);
st
=
avformat_new_stream
(
ctx
,
NULL
);
...
@@ -187,7 +186,6 @@ static void init_fps(int bf, int audio_preroll, int fps)
...
@@ -187,7 +186,6 @@ static void init_fps(int bf, int audio_preroll, int fps)
if
(
!
st
->
codec
->
extradata
)
if
(
!
st
->
codec
->
extradata
)
exit
(
1
);
exit
(
1
);
memcpy
(
st
->
codec
->
extradata
,
aac_extradata
,
sizeof
(
aac_extradata
));
memcpy
(
st
->
codec
->
extradata
,
aac_extradata
,
sizeof
(
aac_extradata
));
st
->
codec
->
flags
|=
AV_CODEC_FLAG_GLOBAL_HEADER
;
audio_st
=
st
;
audio_st
=
st
;
if
(
avformat_write_header
(
ctx
,
&
opts
)
<
0
)
if
(
avformat_write_header
(
ctx
,
&
opts
)
<
0
)
...
...
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