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

Required by a pending change in ffprobe.
This commit is contained in:
Stefano Sabatini 2012-01-04 01:52:58 +01:00
parent ceef1ee767
commit e869d08cbc
2 changed files with 6 additions and 1 deletions

View File

@ -54,7 +54,7 @@
struct SwsContext *sws_opts; struct SwsContext *sws_opts;
AVDictionary *format_opts, *codec_opts; AVDictionary *format_opts, *codec_opts;
static const int this_year = 2012; const int this_year = 2012;
static FILE *report_file; static FILE *report_file;

View File

@ -43,6 +43,11 @@ extern const char program_name[];
*/ */
extern const int program_birth_year; 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 AVCodecContext *avcodec_opts[AVMEDIA_TYPE_NB];
extern AVFormatContext *avformat_opts; extern AVFormatContext *avformat_opts;
extern struct SwsContext *sws_opts; extern struct SwsContext *sws_opts;