]> granicus.if.org Git - libvpx/commitdiff
resolve visual studio warnings around initializers
authorJim Bankoski <jimbankoski@google.com>
Fri, 19 Dec 2014 15:50:54 +0000 (07:50 -0800)
committerJim Bankoski <jimbankoski@google.com>
Fri, 19 Dec 2014 20:38:25 +0000 (12:38 -0800)
Change-Id: Id2ad4fb24242f7ca8fa7a152f0889fded4113613

vp9/decoder/vp9_decoder.c
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_encoder.h

index 185b268b3ffe719a2bd480f09bcf232a9482dc94..1406b4034020536446722e5c64c4d6bc3bc91b06 100644 (file)
@@ -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) {
index c021d6d07e33a82acdda11c2fcdf9f333b26b25f..4492c6d66813b5b0bafaa9b340d10c70cff012ce 100644 (file)
@@ -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) {
index 56360a2b9eb05b2382487c21255f66f14f7c83b1..7872e2cc1654cb997b586385f7976a6b81a329b9 100644 (file)
@@ -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);