mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-01 01:17:47 +00:00
cmdutils: move exit_program() declaration to cmdutils from avconv
Allows cmdutils to call each tool's own cleanup function.
This commit is contained in:
parent
346ea9e222
commit
dad09ff93f
7 changed files with 105 additions and 83 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue