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

Diego Biurrun git at videolan.org
Thu Oct 4 12:37:06 CEST 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Oct  3 16:20:41 2012 +0200| [8be5b0d6d52d0308bfa99218e8f4f9436498d92a] | committer: Diego Biurrun

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8be5b0d6d52d0308bfa99218e8f4f9436498d92a
---

 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 ffmpeg-cvslog mailing list