Commit 2761d1d0 authored by diego's avatar diego

Do not print an (L)GPL license statement when nonfree parts have been compiled

into FFmpeg.  Instead warn that the resulting binary is unredistributable.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11666 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2e621781
...@@ -184,7 +184,12 @@ void show_version(const char *program_name) { ...@@ -184,7 +184,12 @@ void show_version(const char *program_name) {
void show_license(void) 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( printf(
"FFmpeg is free software; you can redistribute it and/or modify\n" "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" "it under the terms of the GNU General Public License as published by\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment