diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-07-14 18:36:05 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-07-20 20:47:46 +0200 |
commit | ccc684993276248d64c328a810fb7714af2f4c70 (patch) | |
tree | 61d2f6b929abd209a92ec274b4dbef99f6ef71b2 /fftools/cmdutils.c | |
parent | a81d9231b91dac75a8fa1cbb72ec17556b5c6d9f (diff) |
fftools/ffmpeg: stop calling exit_program()
Remove exit_program() and register_exit(), as they are no longer used.
Diffstat (limited to 'fftools/cmdutils.c')
-rw-r--r-- | fftools/cmdutils.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index ed507a8f2e..156c13801a 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -83,21 +83,6 @@ void init_dynload(void) #endif } -static void (*program_exit)(int ret); - -void register_exit(void (*cb)(int ret)) -{ - program_exit = cb; -} - -void exit_program(int ret) -{ - if (program_exit) - program_exit(ret); - - exit(ret); -} - int parse_number(const char *context, const char *numstr, int type, double min, double max, double *dst) { |