[FFmpeg-devel] [PATCH 04/11] Make this_year static to cmdutils.c
Diego Elio Pettenò
flameeyes
Tue Jan 25 00:36:12 CET 2011
---
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;
--
1.7.4.rc2
More information about the ffmpeg-devel
mailing list