diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-17 23:15:19 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-17 23:28:50 +0200 |
commit | 35daf3ca8173f80f200860e06a410ced31a8b360 (patch) | |
tree | 8da256fd289ad92907ddb01abd3bb654e3fefbc1 /cmdutils.c | |
parent | eebde404bc8cee8817508578a4067c857994b6a6 (diff) | |
download | ffmpeg-35daf3ca8173f80f200860e06a410ced31a8b360.tar.gz |
cmdutils: remove unneeded null check
Fixes CID703769
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c index 2312ca2ac2..f4474f61b6 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -380,7 +380,7 @@ int locate_option(int argc, char **argv, const OptionDef *options, (po->name && !strcmp(optname, po->name))) return i; - if (!po || po->flags & HAS_ARG) + if (po->flags & HAS_ARG) i++; } return 0; |