[FFmpeg-cvslog] r11666 - trunk/cmdutils.c
diego
subversion
Wed Jan 30 09:07:18 CET 2008
Author: diego
Date: Wed Jan 30 09:07:18 2008
New Revision: 11666
Log:
Do not print an (L)GPL license statement when nonfree parts have been compiled
into FFmpeg. Instead warn that the resulting binary is unredistributable.
Modified:
trunk/cmdutils.c
Modified: trunk/cmdutils.c
==============================================================================
--- trunk/cmdutils.c (original)
+++ trunk/cmdutils.c Wed Jan 30 09:07:18 2008
@@ -184,7 +184,12 @@ void show_version(const char *program_na
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"
More information about the ffmpeg-cvslog
mailing list