Browse Source

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

Required by a pending change in ffprobe.
tags/n0.10
Stefano Sabatini 13 years ago
parent
commit
e869d08cbc
2 changed files with 6 additions and 1 deletions
  1. +1
    -1
      cmdutils.c
  2. +5
    -0
      cmdutils.h

+ 1
- 1
cmdutils.c View 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;



+ 5
- 0
cmdutils.h View 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;


Loading…
Cancel
Save