Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-08-29 09:03:24 +0400
committerAnton Khirnov <anton@khirnov.net>2011-09-04 15:12:00 +0400
commitdad09ff93f5df1ec987493f404d43cd16991e992 (patch)
treed69e680344af9464ab4f6f3e37b974ba9430bbd3 /cmdutils.h
parent346ea9e22240b4442f479518f6c3b40c9bec9487 (diff)
cmdutils: move exit_program() declaration to cmdutils from avconv
Allows cmdutils to call each tool's own cleanup function.
Diffstat (limited to 'cmdutils.h')
-rw-r--r--cmdutils.h6
1 files changed, 6 insertions, 0 deletions
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 */