Skip to content

Commit

Permalink
cmdutils: make this_year extern, so it can be referenced from other .…
Browse files Browse the repository at this point in the history
…o files

Required by a pending change in ffprobe.
  • Loading branch information
saste committed Jan 7, 2012
1 parent ceef1ee commit e869d08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmdutils.c
Expand Up @@ -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;

Expand Down
5 changes: 5 additions & 0 deletions cmdutils.h
Expand Up @@ -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;
Expand Down

0 comments on commit e869d08

Please sign in to comment.