aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gmail.com>2011-01-24 23:36:12 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-01-26 03:43:29 +0100
commit7a0e1be839ee944fab4efbbddd669e7c905d3603 (patch)
tree7f4c2dcf5d187af5a96f5f3c8f78b5f9b5ecbc28
parentee7fed27d452c7a7be2457d4230eafb084e010c5 (diff)
downloadffmpeg-7a0e1be839ee944fab4efbbddd669e7c905d3603.tar.gz
Make this_year static to cmdutils.c
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 3568853f63e1ab8ff1fc0773a132d14187a0e2d8)
-rw-r--r--cmdutils.c2
-rw-r--r--cmdutils.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 295d10798a..58fe85cfda 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 9fb7845971..c3d8a42453 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;