tools_common.h: fix get_vpx_decoder_count() proto

silences a missing-prototype warning

Change-Id: I99f8b4a9b7df836208e93170159733c5b5c2d881
This commit is contained in:
James Zern
2015-05-09 10:41:54 -07:00
parent 5a73bbdb83
commit d1999cb234
2 changed files with 2 additions and 2 deletions

View File

@@ -170,7 +170,7 @@ static const VpxInterface vpx_decoders[] = {
#endif #endif
}; };
int get_vpx_decoder_count() { int get_vpx_decoder_count(void) {
return sizeof(vpx_decoders) / sizeof(vpx_decoders[0]); return sizeof(vpx_decoders) / sizeof(vpx_decoders[0]);
} }

View File

@@ -135,7 +135,7 @@ int get_vpx_encoder_count(void);
const VpxInterface *get_vpx_encoder_by_index(int i); const VpxInterface *get_vpx_encoder_by_index(int i);
const VpxInterface *get_vpx_encoder_by_name(const char *name); const VpxInterface *get_vpx_encoder_by_name(const char *name);
int get_vpx_decoder_count(); int get_vpx_decoder_count(void);
const VpxInterface *get_vpx_decoder_by_index(int i); const VpxInterface *get_vpx_decoder_by_index(int i);
const VpxInterface *get_vpx_decoder_by_name(const char *name); const VpxInterface *get_vpx_decoder_by_name(const char *name);
const VpxInterface *get_vpx_decoder_by_fourcc(uint32_t fourcc); const VpxInterface *get_vpx_decoder_by_fourcc(uint32_t fourcc);