From 8f0168a3b946359a0fde574b6dd9a1e147253dfa Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 2 Oct 2012 21:55:17 +0200 Subject: [PATCH] fix exit_program() prototypes This fixes 2 warnings Signed-off-by: Michael Niedermayer --- ffmpeg.c | 2 +- ffprobe.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index a9e5c548fe..5be745e42f 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 31d1a4430a..4fb4982984 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); }