Make globals static
authorBenoit Fouet <benoit.fouet@free.fr>
Tue, 26 Jun 2007 15:52:54 +0000 (15:52 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Tue, 26 Jun 2007 15:52:54 +0000 (15:52 +0000)
Originally committed as revision 9433 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index e1343ed..cb54e1d 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -204,12 +204,12 @@ static int dts_delta_threshold = 10;
 
 static int sws_flags = SWS_BICUBIC;
 
-const char **opt_names=NULL;
-int opt_name_count=0;
-AVCodecContext *avctx_opts[CODEC_TYPE_NB];
-AVFormatContext *avformat_opts;
-struct SwsContext *sws_opts;
-static int64_t timer_start = 0;
+static const char **opt_names;
+static int opt_name_count;
+static AVCodecContext *avctx_opts[CODEC_TYPE_NB];
+static AVFormatContext *avformat_opts;
+static struct SwsContext *sws_opts;
+static int64_t timer_start;
 
 static AVBitStreamFilterContext *video_bitstream_filters=NULL;
 static AVBitStreamFilterContext *audio_bitstream_filters=NULL;