projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59e7a47
)
tools_common.h: fix get_vpx_encoder_count() proto
author
James Zern
<jzern@google.com>
Sat, 9 May 2015 17:40:51 +0000
(10:40 -0700)
committer
James Zern
<jzern@google.com>
Tue, 12 May 2015 03:55:01 +0000
(20:55 -0700)
silences a missing-prototype warning
Change-Id: Icf5c7f1f3e8ae9792276068fb3c0fd04b40fc7ad
tools_common.c
patch
|
blob
|
history
tools_common.h
patch
|
blob
|
history
diff --git
a/tools_common.c
b/tools_common.c
index
e243a91
..
7e22217
100644
(file)
--- a/
tools_common.c
+++ b/
tools_common.c
@@
-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]);
}
diff --git
a/tools_common.h
b/tools_common.h
index
b92980a
..
db6e268
100644
(file)
--- a/
tools_common.h
+++ b/
tools_common.h
@@
-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);