From 79815f622d90499f882ad968a1351134535cbbab Mon Sep 17 00:00:00 2001
From: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Date: Tue, 20 Nov 2007 13:42:43 +0000
Subject: [PATCH] Fix wrong error message. patch by Stefano Sabatini,
 stefano.sabatini-lala poste it

Originally committed as revision 11070 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 vhook/drawtext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vhook/drawtext.c b/vhook/drawtext.c
index 08184762028..856fd0ce78a 100644
--- a/vhook/drawtext.c
+++ b/vhook/drawtext.c
@@ -203,7 +203,7 @@ int Configure(void **ctxp, int argc, char *argv[])
       case 'C':
         if (ParseColor(optarg, ci->bgcolor) == -1)
           {
-            av_log(NULL, AV_LOG_ERROR, "Invalid foreground color: '%s'. You must specify the color in the internet way(packaged hex): #RRGGBB, ie: -c #ffffff (for white foreground)\n", optarg);
+            av_log(NULL, AV_LOG_ERROR, "Invalid background color: '%s'. You must specify the color in the internet way(packaged hex): #RRGGBB, ie: -C #ffffff (for white background)\n", optarg);
             return -1;
           }
         break;
-- 
GitLab