diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-01-30 08:07:18 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-01-30 08:07:18 +0000 |
commit | 7ead693b79cd5e3baa88f863e4324588e8bdc243 (patch) | |
tree | e7646b17ac41ed5f8c6e8b7e7d538a3973080d38 /cmdutils.c | |
parent | 59abc29e69c4cd99f5fae6fe48a2db1a4661280b (diff) | |
download | ffmpeg-7ead693b79cd5e3baa88f863e4324588e8bdc243.tar.gz |
Do not print an (L)GPL license statement when nonfree parts have been compiled
into FFmpeg. Instead warn that the resulting binary is unredistributable.
Originally committed as revision 11666 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c index 86efa79ef4..abd10c50af 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -184,7 +184,12 @@ void show_version(const char *program_name) { void show_license(void) { -#ifdef CONFIG_GPL +#ifdef CONFIG_NONFREE + printf( + "This version of FFmpeg has nonfree parts compiled in.\n" + "Therefore it is not legally redistributable.\n" + ); +#elif CONFIG_GPL printf( "FFmpeg is free software; you can redistribute it and/or modify\n" "it under the terms of the GNU General Public License as published by\n" |