tools_common.h: fix get_vpx_encoder_count() proto
silences a missing-prototype warning Change-Id: Icf5c7f1f3e8ae9792276068fb3c0fd04b40fc7ad
This commit is contained in:
parent
59e7a47c41
commit
5a73bbdb83
@ -140,7 +140,7 @@ static const VpxInterface vpx_encoders[] = {
|
||||
#endif
|
||||
};
|
||||
|
||||
int get_vpx_encoder_count() {
|
||||
int get_vpx_encoder_count(void) {
|
||||
return sizeof(vpx_encoders) / sizeof(vpx_encoders[0]);
|
||||
}
|
||||
|
||||
|
@ -131,7 +131,7 @@ typedef struct VpxInterface {
|
||||
vpx_codec_iface_t *(*const codec_interface)();
|
||||
} VpxInterface;
|
||||
|
||||
int get_vpx_encoder_count();
|
||||
int get_vpx_encoder_count(void);
|
||||
const VpxInterface *get_vpx_encoder_by_index(int i);
|
||||
const VpxInterface *get_vpx_encoder_by_name(const char *name);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user