[libav-commits] avconv/avprobe: Add missing 'void' to exit_program() definition

Diego Biurrun git at libav.org
Wed Oct 3 18:10:53 CEST 2012


Module: libav
Branch: master
Commit: 8be5b0d6d52d0308bfa99218e8f4f9436498d92a

Author:    Diego Biurrun <diego at biurrun.de>
Committer: Diego Biurrun <diego at biurrun.de>
Date:      Wed Oct  3 16:20:41 2012 +0200

avconv/avprobe: Add missing 'void' to exit_program() definition

---

 avconv.c  |    2 +-
 avprobe.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/avconv.c b/avconv.c
index 2e42065..9aaa4a8 100644
--- 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;
 
diff --git a/avprobe.c b/avprobe.c
index 8bc2a21..c9bcee2 100644
--- 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);
 }



More information about the libav-commits mailing list