shithub: libvpx

Download patch

ref: d1999cb234387b4b1a8f841a6bd53c8780fc68eb
parent: 5a73bbdb83f5f416ab6f6a33c3d61e07ca01fb85
author: James Zern <[email protected]>
date: Sat May 9 06:41:54 EDT 2015

tools_common.h: fix get_vpx_decoder_count() proto

silences a missing-prototype warning

Change-Id: I99f8b4a9b7df836208e93170159733c5b5c2d881

--- a/tools_common.c
+++ b/tools_common.c
@@ -170,7 +170,7 @@
 #endif
 };
 
-int get_vpx_decoder_count() {
+int get_vpx_decoder_count(void) {
   return sizeof(vpx_decoders) / sizeof(vpx_decoders[0]);
 }
 
--- a/tools_common.h
+++ b/tools_common.h
@@ -135,7 +135,7 @@
 const VpxInterface *get_vpx_encoder_by_index(int i);
 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_name(const char *name);
 const VpxInterface *get_vpx_decoder_by_fourcc(uint32_t fourcc);