[FFmpeg-cvslog] Make local variables static.

Diego Elio Pettenò git
Wed Jan 26 04:01:16 CET 2011


ffmpeg | branch: master | Diego Elio Petten? <flameeyes at gmail.com> | Mon Jan 24 23:36:17 2011 +0000| [41727b8522439b4febf33b567ab92615b12ed11b] | committer: Michael Niedermayer

Make local variables static.

Signed-off-by: Mans Rullgard <mans at mansr.com>
(cherry picked from commit a6d1bd05c906fc7ad34fae1029a45ec3cbcc4fcc)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=41727b8522439b4febf33b567ab92615b12ed11b
---

 ffmpeg.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 56b2dbe..691b73e 100644
--- 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;
 




More information about the ffmpeg-cvslog mailing list