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
452406bd
Commit
452406bd
authored
Dec 20, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ff*: Fix duplicatedly printed version info with -version
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b0aaf304
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
7 deletions
+11
-7
avconv.c
avconv.c
+1
-1
cmdutils.c
cmdutils.c
+5
-1
cmdutils.h
cmdutils.h
+1
-1
ffmpeg.c
ffmpeg.c
+1
-1
ffplay.c
ffplay.c
+1
-1
ffprobe.c
ffprobe.c
+1
-1
ffserver.c
ffserver.c
+1
-1
No files found.
avconv.c
View file @
452406bd
...
...
@@ -4392,7 +4392,7 @@ int main(int argc, char **argv)
av_register_all
();
avformat_network_init
();
show_banner
();
show_banner
(
argc
,
argv
,
options
);
/* parse options */
parse_options
(
&
o
,
argc
,
argv
,
options
,
opt_output_file
);
...
...
cmdutils.c
View file @
452406bd
...
...
@@ -582,8 +582,12 @@ static void print_all_libs_info(int flags, int level)
PRINT_LIB_INFO
(
postproc
,
POSTPROC
,
flags
,
level
);
}
void
show_banner
(
void
)
void
show_banner
(
int
argc
,
char
**
argv
,
const
OptionDef
*
options
)
{
int
idx
=
locate_option
(
argc
,
argv
,
options
,
"version"
);
if
(
idx
)
return
;
av_log
(
NULL
,
AV_LOG_INFO
,
"%s version "
FFMPEG_VERSION
", Copyright (c) %d-%d the FFmpeg developers
\n
"
,
program_name
,
program_birth_year
,
this_year
);
av_log
(
NULL
,
AV_LOG_INFO
,
" built on %s %s with %s %s
\n
"
,
...
...
cmdutils.h
View file @
452406bd
...
...
@@ -245,7 +245,7 @@ void print_error(const char *filename, int err);
* current version of the repository and of the libav* libraries used by
* the program.
*/
void
show_banner
(
void
);
void
show_banner
(
int
argc
,
char
**
argv
,
const
OptionDef
*
options
);
/**
* Print the version of the program to stdout. The version message
...
...
ffmpeg.c
View file @
452406bd
...
...
@@ -4857,7 +4857,7 @@ int main(int argc, char **argv)
av_register_all
();
avformat_network_init
();
show_banner
();
show_banner
(
argc
,
argv
,
options
);
term_init
();
...
...
ffplay.c
View file @
452406bd
...
...
@@ -3165,7 +3165,7 @@ int main(int argc, char **argv)
init_opts
();
show_banner
();
show_banner
(
argc
,
argv
,
options
);
parse_options
(
NULL
,
argc
,
argv
,
options
,
opt_input_file
);
...
...
ffprobe.c
View file @
452406bd
...
...
@@ -1252,7 +1252,7 @@ int main(int argc, char **argv)
avdevice_register_all
();
#endif
show_banner
();
show_banner
(
argc
,
argv
,
options
);
parse_options
(
NULL
,
argc
,
argv
,
options
,
opt_input_file
);
if
(
!
input_filename
)
{
...
...
ffserver.c
View file @
452406bd
...
...
@@ -4673,7 +4673,7 @@ int main(int argc, char **argv)
av_register_all
();
avformat_network_init
();
show_banner
();
show_banner
(
argc
,
argv
,
options
);
my_program_name
=
argv
[
0
];
my_program_dir
=
getcwd
(
0
,
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