avconv/avprobe: Add missing 'void' to exit_program() definition
authorDiego Biurrun <diego@biurrun.de>
Wed, 3 Oct 2012 14:20:41 +0000 (16:20 +0200)
committerDiego Biurrun <diego@biurrun.de>
Wed, 3 Oct 2012 16:07:49 +0000 (18:07 +0200)
avconv.c
avprobe.c

index 2e42065..9aaa4a8 100644 (file)
--- a/avconv.c
+++ b/avconv.c
@@ -143,7 +143,7 @@ static int decode_interrupt_cb(void *ctx)
 
 const AVIOInterruptCB int_cb = { decode_interrupt_cb, NULL };
 
-static void exit_program()
+static void exit_program(void)
 {
     int i, j;
 
index 8bc2a21..c9bcee2 100644 (file)
--- a/avprobe.c
+++ b/avprobe.c
@@ -59,7 +59,7 @@ static const char unit_hertz_str[]          = "Hz"   ;
 static const char unit_byte_str[]           = "byte" ;
 static const char unit_bit_per_second_str[] = "bit/s";
 
-static void exit_program()
+static void exit_program(void)
 {
     av_dict_free(&fmt_entries_to_show);
 }