summaryrefslogtreecommitdiff
path: root/cmdutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c7
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"