Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
8bf7ea8a
Commit
8bf7ea8a
authored
Nov 26, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmdutils: remove this_year constant, use CONFIG_THIS_YEAR instead
Simplify.
parent
4c4710a7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
9 deletions
+2
-9
cmdutils.c
cmdutils.c
+1
-3
cmdutils.h
cmdutils.h
+0
-5
ffprobe.c
ffprobe.c
+1
-1
No files found.
cmdutils.c
View file @
8bf7ea8a
...
...
@@ -69,8 +69,6 @@ struct SwsContext *sws_opts;
AVDictionary
*
swr_opts
;
AVDictionary
*
format_opts
,
*
codec_opts
,
*
resample_opts
;
const
int
this_year
=
CONFIG_THIS_YEAR
;
static
FILE
*
report_file
;
void
init_opts
(
void
)
...
...
@@ -1072,7 +1070,7 @@ static void print_program_info(int flags, int level)
av_log
(
NULL
,
level
,
"%s version "
FFMPEG_VERSION
,
program_name
);
if
(
flags
&
SHOW_COPYRIGHT
)
av_log
(
NULL
,
level
,
" Copyright (c) %d-%d the FFmpeg developers"
,
program_birth_year
,
this_year
);
program_birth_year
,
CONFIG_THIS_YEAR
);
av_log
(
NULL
,
level
,
"
\n
"
);
av_log
(
NULL
,
level
,
"%sbuilt on %s %s with %s
\n
"
,
indent
,
__DATE__
,
__TIME__
,
CC_IDENT
);
...
...
cmdutils.h
View file @
8bf7ea8a
...
...
@@ -43,11 +43,6 @@ 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
;
...
...
ffprobe.c
View file @
8bf7ea8a
...
...
@@ -2422,7 +2422,7 @@ static void ffprobe_show_program_version(WriterContext *w)
writer_print_section_header
(
w
,
SECTION_ID_PROGRAM_VERSION
);
print_str
(
"version"
,
FFMPEG_VERSION
);
print_fmt
(
"copyright"
,
"Copyright (c) %d-%d the FFmpeg developers"
,
program_birth_year
,
this_year
);
program_birth_year
,
CONFIG_THIS_YEAR
);
print_str
(
"build_date"
,
__DATE__
);
print_str
(
"build_time"
,
__TIME__
);
print_str
(
"compiler_ident"
,
CC_IDENT
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment