mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-20 22:18:48 +08:00
Do not pass program_name as argument to show_version(), this allows some
future simplifications. Originally committed as revision 13232 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
4
ffmpeg.c
4
ffmpeg.c
@ -63,7 +63,7 @@
|
||||
|
||||
#undef exit
|
||||
|
||||
static const char program_name[] = "FFmpeg";
|
||||
const char program_name[] = "FFmpeg";
|
||||
static const int program_birth_year = 2000;
|
||||
|
||||
/* select an input stream for an output stream */
|
||||
@ -3758,7 +3758,7 @@ static int opt_bsf(const char *opt, const char *arg)
|
||||
|
||||
static void opt_show_version(void)
|
||||
{
|
||||
show_version(program_name);
|
||||
show_version();
|
||||
av_exit(0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user