Browse code

cmdutils: make this_year extern, so it can be referenced from other .o files

Required by a pending change in ffprobe.

Stefano Sabatini authored on 2012/01/04 09:52:58
Showing 2 changed files
... ...
@@ -54,7 +54,7 @@
54 54
 struct SwsContext *sws_opts;
55 55
 AVDictionary *format_opts, *codec_opts;
56 56
 
57
-static const int this_year = 2012;
57
+const int this_year = 2012;
58 58
 
59 59
 static FILE *report_file;
60 60
 
... ...
@@ -43,6 +43,11 @@ extern const char program_name[];
43 43
  */
44 44
 extern const int program_birth_year;
45 45
 
46
+/**
47
+ * this year, defined by the program for show_banner()
48
+ */
49
+extern const int this_year;
50
+
46 51
 extern AVCodecContext *avcodec_opts[AVMEDIA_TYPE_NB];
47 52
 extern AVFormatContext *avformat_opts;
48 53
 extern struct SwsContext *sws_opts;