fix exit_program() prototypes
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 2 Oct 2012 19:55:17 +0000 (21:55 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 2 Oct 2012 19:55:31 +0000 (21:55 +0200)
This fixes 2 warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c
ffprobe.c

index a9e5c54..5be745e 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -378,7 +378,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 31d1a44..4fb4982 100644 (file)
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -141,7 +141,7 @@ static const char unit_bit_per_second_str[] = "bit/s";
 static uint64_t *nb_streams_packets;
 static uint64_t *nb_streams_frames;
 
-static void exit_program()
+static void exit_program(void)
 {
     av_dict_free(&fmt_entries_to_show);
 }