Commit d1999cb2 authored by James Zern's avatar James Zern

tools_common.h: fix get_vpx_decoder_count() proto

silences a missing-prototype warning

Change-Id: I99f8b4a9b7df836208e93170159733c5b5c2d881
parent 5a73bbdb
...@@ -170,7 +170,7 @@ static const VpxInterface vpx_decoders[] = { ...@@ -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]);
} }
......
...@@ -135,7 +135,7 @@ int get_vpx_encoder_count(void); ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment