diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-07-14 18:26:43 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-07-20 20:47:46 +0200 |
commit | 411e1833601e542b28681feab23ef4754644eb47 (patch) | |
tree | 8544f81e4069b2da938c5bc57b8795670bb168d9 /fftools/cmdutils.c | |
parent | 78699923ac8ab8c2de1ba64c464385a9e12258ed (diff) |
fftools/opt_common: replace report_and_exit() with returning an error code
Remove report_and_exit(), as it has no more users.
Diffstat (limited to 'fftools/cmdutils.c')
-rw-r--r-- | fftools/cmdutils.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 45e93ab196..ed507a8f2e 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -90,12 +90,6 @@ void register_exit(void (*cb)(int ret)) program_exit = cb; } -void report_and_exit(int ret) -{ - av_log(NULL, AV_LOG_FATAL, "%s\n", av_err2str(ret)); - exit_program(AVUNERROR(ret)); -} - void exit_program(int ret) { if (program_exit) |