Make local variables static.
authorDiego Elio Pettenò <flameeyes@gmail.com>
Mon, 24 Jan 2011 23:36:17 +0000 (23:36 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 26 Jan 2011 02:43:29 +0000 (03:43 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit a6d1bd05c906fc7ad34fae1029a45ec3cbcc4fcc)

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;