mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
fftools/cmdutils: return AVERROR_EXIT for OPT_EXIT options instead of aborting()
This commit is contained in:
parent
8173623e39
commit
eda1fac27a
5 changed files with 7 additions and 4 deletions
|
|
@ -320,7 +320,7 @@ static int write_option(void *optctx, const OptionDef *po, const char *opt,
|
|||
}
|
||||
}
|
||||
if (po->flags & OPT_EXIT)
|
||||
exit_program(0);
|
||||
return AVERROR_EXIT;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue