Skip to content

Commit 8f0168a

Browse files
committed
fix exit_program() prototypes
This fixes 2 warnings Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
1 parent 032ba74 commit 8f0168a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ffmpeg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ static int decode_interrupt_cb(void *ctx)
378378

379379
const AVIOInterruptCB int_cb = { decode_interrupt_cb, NULL };
380380

381-
static void exit_program()
381+
static void exit_program(void)
382382
{
383383
int i, j;
384384

ffprobe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ static const char unit_bit_per_second_str[] = "bit/s";
141141
static uint64_t *nb_streams_packets;
142142
static uint64_t *nb_streams_frames;
143143

144-
static void exit_program()
144+
static void exit_program(void)
145145
{
146146
av_dict_free(&fmt_entries_to_show);
147147
}

0 commit comments

Comments
 (0)