Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
20f9f21f
Commit
20f9f21f
authored
Jun 24, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: remove pointless if (nb_input_files)
It's required to be non-zero since
cc58300e
parent
27e91f37
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
ffmpeg.c
ffmpeg.c
+1
-4
No files found.
ffmpeg.c
View file @
20f9f21f
...
...
@@ -3821,9 +3821,7 @@ static void opt_output_file(const char *filename)
use_subtitle
=
file_oformat
->
subtitle_codec
!=
CODEC_ID_NONE
||
subtitle_stream_copy
||
subtitle_codec_name
;
use_data
=
data_stream_copy
||
data_codec_name
;
/* XXX once generic data codec will be available add a ->data_codec reference and use it here */
/* disable if no corresponding type found and at least one
input file */
if
(
nb_input_files
>
0
)
{
/* disable if no corresponding type found */
check_inputs
(
&
input_has_video
,
&
input_has_audio
,
&
input_has_subtitle
,
...
...
@@ -3837,7 +3835,6 @@ static void opt_output_file(const char *filename)
use_subtitle
=
0
;
if
(
!
input_has_data
)
use_data
=
0
;
}
/* manual disable */
if
(
audio_disable
)
use_audio
=
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