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
74c57695
Commit
74c57695
authored
Feb 10, 2017
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/movenc: Remove two unused variables.
parent
3ea97737
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
movenc.c
libavformat/movenc.c
+1
-4
No files found.
libavformat/movenc.c
View file @
74c57695
...
...
@@ -5517,7 +5517,7 @@ static int mov_init(AVFormatContext *s)
{
MOVMuxContext
*
mov
=
s
->
priv_data
;
AVDictionaryEntry
*
global_tcr
=
av_dict_get
(
s
->
metadata
,
"timecode"
,
NULL
,
0
);
int
i
,
ret
,
hint_track
=
0
,
tmcd_track
=
0
;
int
i
,
ret
;
mov
->
fc
=
s
;
...
...
@@ -5610,7 +5610,6 @@ static int mov_init(AVFormatContext *s)
if
(
mov
->
flags
&
FF_MOV_FLAG_RTP_HINT
)
{
/* Add hint tracks for each audio and video stream */
hint_track
=
mov
->
nb_streams
;
for
(
i
=
0
;
i
<
s
->
nb_streams
;
i
++
)
{
AVStream
*
st
=
s
->
streams
[
i
];
if
(
st
->
codecpar
->
codec_type
==
AVMEDIA_TYPE_VIDEO
||
...
...
@@ -5622,8 +5621,6 @@ static int mov_init(AVFormatContext *s)
if
(
mov
->
write_tmcd
==
-
1
&&
(
mov
->
mode
==
MODE_MOV
||
mov
->
mode
==
MODE_MP4
)
||
mov
->
write_tmcd
==
1
)
{
tmcd_track
=
mov
->
nb_streams
;
/* +1 tmcd track for each video stream with a timecode */
for
(
i
=
0
;
i
<
s
->
nb_streams
;
i
++
)
{
AVStream
*
st
=
s
->
streams
[
i
];
...
...
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