From a20db8a35cf2050b3d646abdcd06ff21c8f53ee7 Mon Sep 17 00:00:00 2001 From: Eduardo Bragatto Date: Wed, 9 Jan 2008 20:48:02 +0000 Subject: Initialize correctly optind. Patch by Eduardo Bragatto, his name at his surname dot com Thread http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-January/039835.html Originally committed as revision 11483 to svn://svn.ffmpeg.org/ffmpeg/trunk --- vhook/imlib2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vhook/imlib2.c') diff --git a/vhook/imlib2.c b/vhook/imlib2.c index 1626f587d4..7df4c0acad 100644 --- a/vhook/imlib2.c +++ b/vhook/imlib2.c @@ -160,7 +160,7 @@ int Configure(void **ctxp, int argc, char *argv[]) ci->expr_x = "0.0"; ci->expr_y = "0.0"; - optind = 0; + optind = 1; /* Use ':' to split FONTPATH */ if (fp) -- cgit v1.2.3