OSDN Git Service

10l in r7174 caused all options to be treated as filenames.
authorLoren Merritt <lorenm@u.washington.edu>
Mon, 27 Nov 2006 15:48:16 +0000 (15:48 +0000)
committerLoren Merritt <lorenm@u.washington.edu>
Mon, 27 Nov 2006 15:48:16 +0000 (15:48 +0000)
Originally committed as revision 7177 to svn://svn.ffmpeg.org/ffmpeg/trunk

cmdutils.c

index 7922051..2c53d90 100644 (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 */