From dad09ff93f5df1ec987493f404d43cd16991e992 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 29 Aug 2011 07:03:24 +0200 Subject: cmdutils: move exit_program() declaration to cmdutils from avconv Allows cmdutils to call each tool's own cleanup function. --- cmdutils.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cmdutils.h') diff --git a/cmdutils.h b/cmdutils.h index 48ea213bde..65b1ae48b7 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -327,4 +327,10 @@ extern AVFilter ffsink; int get_filtered_video_frame(AVFilterContext *sink, AVFrame *frame, AVFilterBufferRef **picref, AVRational *pts_tb); +/** + * Do all the necessary cleanup and abort. + * This function is implemented in the avtools, not cmdutils. + */ +void exit_program(int ret); + #endif /* LIBAV_CMDUTILS_H */ -- cgit v1.2.3