Skip to content
Snippets Groups Projects
Commit e869d08c authored by Stefano Sabatini's avatar Stefano Sabatini
Browse files

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

Required by a pending change in ffprobe.
parent ceef1ee7
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ ...@@ -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;
......
...@@ -43,6 +43,11 @@ extern const char program_name[]; ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment