aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.c
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2006-11-27 15:48:16 +0000
committerLoren Merritt <lorenm@u.washington.edu>2006-11-27 15:48:16 +0000
commitb0d7bc1eabf825abba6bfeebd4df138ac744ea49 (patch)
tree3e67e2145022b86692db57b368d1aee76b6e9d04 /cmdutils.c
parentc411e7f6fb9307146419cd14987d26c16113b6b6 (diff)
downloadffmpeg-b0d7bc1eabf825abba6bfeebd4df138ac744ea49.tar.gz
10l in r7174 caused all options to be treated as filenames.
Originally committed as revision 7177 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 7922051966..2c53d90daa 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -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 */