shithub: libvpx

Download patch

ref: 7badbcc42127dbf5042fa1dc27c522e7149b2624
parent: d12f5d3ef79d5f375ea5819a1ce6824d4c2b4377
author: Johann <johannkoenig@google.com>
date: Thu Dec 20 11:54:37 EST 2018

vpx{dec,enc}: resolve missing declarations

BUG=webm:1584

Change-Id: I81e53e579e6fd22b7b21f432256abbe91bf77b15

--- a/vpxdec.c
+++ b/vpxdec.c
@@ -175,7 +175,7 @@
                    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);
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -560,7 +560,7 @@
 
 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();