Merge "resolve visual studio warnings around initializers"

This commit is contained in:
Jim Bankoski 2014-12-19 15:18:04 -08:00 committed by Gerrit Code Review
commit 3d94b9bf24
3 changed files with 3 additions and 3 deletions

View 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) {

View 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) {

View 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);