Merge commit '636ced8e1d
'
* commit '636ced8e1d
':
cmdutils: wrap exit explicitly
Conflicts:
avprobe.c
cmdutils.c
ffmpeg.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
f982d006bb
4 changed files with 73 additions and 48 deletions
10
cmdutils.h
10
cmdutils.h
|
@ -54,6 +54,16 @@ extern struct SwsContext *sws_opts;
|
|||
extern AVDictionary *swr_opts;
|
||||
extern AVDictionary *format_opts, *codec_opts, *resample_opts;
|
||||
|
||||
/**
|
||||
* Register a program-specific cleanup routine.
|
||||
*/
|
||||
void register_exit(void (*cb)(int ret));
|
||||
|
||||
/**
|
||||
* Wraps exit with a program-specific cleanup routine.
|
||||
*/
|
||||
void exit_program(int ret);
|
||||
|
||||
/**
|
||||
* Initialize the cmdutils option system, in particular
|
||||
* allocate the *_opts contexts.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue