aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-05-21 23:27:50 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-05-21 23:27:50 +0000
commita0b3bcd9fe8503c8e842972f7ea7f83770911b73 (patch)
tree808ef946ba74704408b8d1cf06005a57c2e8fed2 /cmdutils.c
parent217e2f46797ccbd90e00da83da8aeb49c5dd4eb9 (diff)
downloadffmpeg-a0b3bcd9fe8503c8e842972f7ea7f83770911b73.tar.gz
OPT_EXIT
Originally committed as revision 13231 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 54085fb7ec..c1edeb907f 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -149,6 +149,8 @@ unknown_opt:
} else {
po->u.func_arg(arg);
}
+ if(po->flags & OPT_EXIT)
+ exit(0);
} else {
if (parse_arg_function)
parse_arg_function(opt);