Make local variables static.
authorDiego Elio Pettenò <flameeyes@gmail.com>
Mon, 24 Jan 2011 23:36:17 +0000 (23:36 +0000)
committerMans Rullgard <mans@mansr.com>
Tue, 25 Jan 2011 00:02:41 +0000 (00:02 +0000)
Signed-off-by: Mans Rullgard <mans@mansr.com>
ffmpeg.c

index 56b2dbe..691b73e 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -172,7 +172,7 @@ static int loop_output = AVFMT_NOOUTPUTLOOP;
 static int qp_hist = 0;
 #if CONFIG_AVFILTER
 static char *vfilters = NULL;
-AVFilterGraph *graph = NULL;
+static AVFilterGraph *graph = NULL;
 #endif
 
 static int intra_only = 0;
@@ -251,7 +251,7 @@ static int64_t timer_start;
 
 static uint8_t *audio_buf;
 static uint8_t *audio_out;
-unsigned int allocated_audio_out_size, allocated_audio_buf_size;
+static unsigned int allocated_audio_out_size, allocated_audio_buf_size;
 
 static short *samples;