summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-02 21:55:17 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-02 21:55:31 +0200
commit8f0168a3b946359a0fde574b6dd9a1e147253dfa (patch)
tree90eb543b5fd8a84985097593e37f2adedaf2541f
parent032ba74ed29e0af77da04d2305b0470cb42b1955 (diff)
fix exit_program() prototypes
This fixes 2 warnings Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--ffmpeg.c2
-rw-r--r--ffprobe.c2
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);
}