]> git.sesse.net Git - ffmpeg/commitdiff
cmdutils: make this_year extern, so it can be referenced from other .o files
authorStefano Sabatini <stefasab@gmail.com>
Wed, 4 Jan 2012 00:52:58 +0000 (01:52 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Sat, 7 Jan 2012 10:02:13 +0000 (11:02 +0100)
Required by a pending change in ffprobe.

cmdutils.c
cmdutils.h

index 0ab98e85b71f5a6501fd66a30c397644e8aec7e3..36e472a705415b0a49ff628eb045536dad0778fa 100644 (file)
@@ -54,7 +54,7 @@
 struct SwsContext *sws_opts;
 AVDictionary *format_opts, *codec_opts;
 
-static const int this_year = 2012;
+const int this_year = 2012;
 
 static FILE *report_file;
 
index b9ea1cfc69b773496b9706c3ce8674f2d2541f9d..61d07887b0e25c32fd72188cc0662b74a7b09cd1 100644 (file)
@@ -43,6 +43,11 @@ extern const char program_name[];
  */
 extern const int program_birth_year;
 
+/**
+ * this year, defined by the program for show_banner()
+ */
+extern const int this_year;
+
 extern AVCodecContext *avcodec_opts[AVMEDIA_TYPE_NB];
 extern AVFormatContext *avformat_opts;
 extern struct SwsContext *sws_opts;