diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-08-29 07:03:24 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-09-04 13:12:00 +0200 |
commit | dad09ff93f5df1ec987493f404d43cd16991e992 (patch) | |
tree | d69e680344af9464ab4f6f3e37b974ba9430bbd3 /avprobe.c | |
parent | 346ea9e22240b4442f479518f6c3b40c9bec9487 (diff) | |
download | ffmpeg-dad09ff93f5df1ec987493f404d43cd16991e992.tar.gz |
cmdutils: move exit_program() declaration to cmdutils from avconv
Allows cmdutils to call each tool's own cleanup function.
Diffstat (limited to 'avprobe.c')
-rw-r--r-- | avprobe.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -56,6 +56,11 @@ static const char *unit_hertz_str = "Hz" ; static const char *unit_byte_str = "byte" ; static const char *unit_bit_per_second_str = "bit/s"; +void exit_program(int ret) +{ + exit(ret); +} + static char *value_string(char *buf, int buf_size, double val, const char *unit) { if (unit == unit_second_str && use_value_sexagesimal_format) { |