diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2012-09-05 07:03:56 +0000 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2012-10-01 17:17:42 -0400 |
commit | 5e3f9979fae32fe837dab6cff5bde7de3c387611 (patch) | |
tree | 0c7f80cc8a57a4d93c316ed961f330ed3282f19f /cmdutils.h | |
parent | bd680c7b49ba665467cb00664667928bbca516a9 (diff) | |
download | ffmpeg-5e3f9979fae32fe837dab6cff5bde7de3c387611.tar.gz |
Use atexit() instead of defining a custom exit_program() interface.
Diffstat (limited to 'cmdutils.h')
-rw-r--r-- | cmdutils.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/cmdutils.h b/cmdutils.h index 8e3b80a1db..7dc9e8f14f 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -401,14 +401,8 @@ FILE *get_preset_file(char *filename, size_t filename_size, const char *preset_name, int is_path, const char *codec_name); /** - * Do all the necessary cleanup and abort. - * This function is implemented in the avtools, not cmdutils. - */ -av_noreturn void exit_program(int ret); - -/** * Realloc array to hold new_size elements of elem_size. - * Calls exit_program() on failure. + * Calls exit() on failure. * * @param elem_size size in bytes of each element * @param size new element count will be written here |