[FFmpeg-cvslog] fix exit_program() prototypes

Michael Niedermayer git at videolan.org
Tue Oct 2 21:59:19 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Oct  2 21:55:17 2012 +0200| [8f0168a3b946359a0fde574b6dd9a1e147253dfa] | committer: Michael Niedermayer

fix exit_program() prototypes

This fixes 2 warnings

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 ffmpeg.c  |    2 +-
 ffprobe.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index a9e5c54..5be745e 100644
--- 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;
 
diff --git a/ffprobe.c b/ffprobe.c
index 31d1a44..4fb4982 100644
--- 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);
 }



More information about the ffmpeg-cvslog mailing list