mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-17 23:17:41 +08:00
fftools/cmdutils: return AVERROR_EXIT for OPT_EXIT options instead of aborting()
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user