10l in r7174 caused all options to be treated as filenames.

Originally committed as revision 7177 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Loren Merritt 2006-11-27 15:48:16 +00:00
parent c411e7f6fb
commit b0d7bc1eab

View File

@ -59,7 +59,7 @@ static const OptionDef* find_option(const OptionDef *po, const char *name){
void parse_options(int argc, char **argv, const OptionDef *options)
{
const char *opt, *arg;
int optindex, handleoptions;
int optindex, handleoptions=1;
const OptionDef *po;
/* parse options */