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
