]> granicus.if.org Git - libvpx/commitdiff
vpx{dec,enc}: resolve missing declarations
authorJohann <johannkoenig@google.com>
Thu, 20 Dec 2018 16:54:37 +0000 (16:54 +0000)
committerJohann <johannkoenig@google.com>
Fri, 21 Dec 2018 15:50:36 +0000 (15:50 +0000)
BUG=webm:1584

Change-Id: I81e53e579e6fd22b7b21f432256abbe91bf77b15

vpxdec.c
vpxenc.c

index eaa28bd84ae6d6db6f7dbe6600f2b4d8e365f40b..7f544d4bcc013d76fd1fc880d55880ca0bb5f2bf 100644 (file)
--- a/vpxdec.c
+++ b/vpxdec.c
@@ -175,7 +175,7 @@ static INLINE int libyuv_scale(vpx_image_t *src, vpx_image_t *dst,
                    dst->d_h, mode);
 }
 #endif
-void show_help(FILE *fout, int shorthelp) {
+static void show_help(FILE *fout, int shorthelp) {
   int i;
 
   fprintf(fout, "Usage: %s <options> filename\n\n", exec_name);
index 9fd36af334b280ba235b3832e75ad12a880ef6d5..b7841522de7845aad4d4521243f4c76506c55cc1 100644 (file)
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -560,7 +560,7 @@ static const int vp9_arg_ctrl_map[] = { VP8E_SET_CPUUSED,
 
 static const arg_def_t *no_args[] = { NULL };
 
-void show_help(FILE *fout, int shorthelp) {
+static void show_help(FILE *fout, int shorthelp) {
   int i;
   const int num_encoder = get_vpx_encoder_count();