OSDN Git Service

Mark symbols as static, patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com
authorDiego Pettenò <flameeyes@gmail.com>
Thu, 1 May 2008 15:12:00 +0000 (15:12 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 1 May 2008 15:12:00 +0000 (15:12 +0000)
Originally committed as revision 13026 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 0cc339c..733ff0d 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -78,7 +78,7 @@ typedef struct AVMetaDataMap {
     int in_file;
 } AVMetaDataMap;
 
-extern const OptionDef options[];
+static const OptionDef options[];
 
 #define MAX_FILES 20
 
@@ -2427,7 +2427,7 @@ static void opt_frame_pad_right(const char *arg)
     }
 }
 
-void list_pix_fmts(void)
+static void list_pix_fmts(void)
 {
     int i;
     char pix_fmt_str[128];
@@ -3772,7 +3772,7 @@ static void opt_show_version(void)
     av_exit(0);
 }
 
-const OptionDef options[] = {
+static const OptionDef options[] = {
     /* main options */
     { "L", 0, {(void*)opt_show_license}, "show license" },
     { "h", 0, {(void*)opt_show_help}, "show help" },