From 5e3f9979fae32fe837dab6cff5bde7de3c387611 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Wed, 5 Sep 2012 07:03:56 +0000 Subject: Use atexit() instead of defining a custom exit_program() interface. --- cmdutils.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'cmdutils.h') diff --git a/cmdutils.h b/cmdutils.h index 8e3b80a1db..7dc9e8f14f 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -400,15 +400,9 @@ int64_t guess_correct_pts(PtsCorrectionContext *ctx, int64_t pts, int64_t dts); 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 -- cgit v1.2.3