From dd4275e498c117b75d5b083797ae5d74aa6dd829 Mon Sep 17 00:00:00 2001 From: Jim Bankoski Date: Fri, 19 Dec 2014 07:50:54 -0800 Subject: [PATCH] resolve visual studio warnings around initializers Change-Id: Id2ad4fb24242f7ca8fa7a152f0889fded4113613 --- vp9/decoder/vp9_decoder.c | 2 +- vp9/encoder/vp9_encoder.c | 2 +- vp9/encoder/vp9_encoder.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vp9/decoder/vp9_decoder.c b/vp9/decoder/vp9_decoder.c index 185b268b3..1406b4034 100644 --- a/vp9/decoder/vp9_decoder.c +++ b/vp9/decoder/vp9_decoder.c @@ -34,7 +34,7 @@ #include "vp9/decoder/vp9_detokenize.h" #include "vp9/decoder/vp9_dthread.h" -static void initialize_dec() { +static void initialize_dec(void) { static volatile int init_done = 0; if (!init_done) { diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c index c021d6d07..4492c6d66 100644 --- a/vp9/encoder/vp9_encoder.c +++ b/vp9/encoder/vp9_encoder.c @@ -181,7 +181,7 @@ static void vp9_swap_mi_and_prev_mi(VP9_COMMON *cm) { cm->prev_mi = cm->prev_mip + cm->mi_stride + 1; } -void vp9_initialize_enc() { +void vp9_initialize_enc(void) { static volatile int init_done = 0; if (!init_done) { diff --git a/vp9/encoder/vp9_encoder.h b/vp9/encoder/vp9_encoder.h index 56360a2b9..7872e2cc1 100644 --- a/vp9/encoder/vp9_encoder.h +++ b/vp9/encoder/vp9_encoder.h @@ -448,7 +448,7 @@ typedef struct VP9_COMP { VP9Worker *workers; } VP9_COMP; -void vp9_initialize_enc(); +void vp9_initialize_enc(void); struct VP9_COMP *vp9_create_compressor(VP9EncoderConfig *oxcf); void vp9_remove_compressor(VP9_COMP *cpi); -- 2.40.0