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
pull/126/head
Stefano Sabatini 17 years ago committed by Diego Biurrun
parent e5af4a113b
commit 79815f622d
  1. 2
      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;

Loading…
Cancel
Save