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
|
|
@ -1371,6 +1371,9 @@ int main(int argc, char **argv)
|
|||
err_rate_exceeded ? 69 : ret;
|
||||
|
||||
finish:
|
||||
if (ret == AVERROR_EXIT)
|
||||
ret = 0;
|
||||
|
||||
exit_program(ret);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue