Assign const qualifier to the font variable, fix warning.

Originally committed as revision 17436 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2009-02-18 21:29:03 +00:00
parent 2ba5628939
commit 818ff9a4eb

View File

@ -146,7 +146,7 @@ int Configure(void **ctxp, int argc, char *argv[])
int c;
ContextInfo *ci;
char *rgbtxt = 0;
char *font = "LucidaSansDemiBold/16";
const char *font = "LucidaSansDemiBold/16";
char *fp = getenv("FONTPATH");
char *color = 0;
FILE *f;