You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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
This commit is contained in:
@@ -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"
|
||||||
|
Reference in New Issue
Block a user