[FFmpeg-cvslog] Make this_year static to cmdutils.c

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:12 2011 +0000| [7a0e1be839ee944fab4efbbddd669e7c905d3603] | committer: Michael Niedermayer

Make this_year static to cmdutils.c

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

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

 cmdutils.c |    2 +-
 cmdutils.h |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/cmdutils.c b/cmdutils.c
index 295d107..58fe85c 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -55,7 +55,7 @@ AVCodecContext *avcodec_opts[AVMEDIA_TYPE_NB];
 AVFormatContext *avformat_opts;
 struct SwsContext *sws_opts;
 
-const int this_year = 2011;
+static const int this_year = 2011;
 
 void init_opts(void)
 {
diff --git a/cmdutils.h b/cmdutils.h
index 9fb7845..c3d8a42 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -37,8 +37,6 @@ extern const char program_name[];
  */
 extern const int program_birth_year;
 
-extern const int this_year;
-
 extern const char **opt_names;
 extern AVCodecContext *avcodec_opts[AVMEDIA_TYPE_NB];
 extern AVFormatContext *avformat_opts;




More information about the ffmpeg-cvslog mailing list