Commit 8adda496 authored by alex's avatar alex

better version reporting


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4822 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5567c8ad
...@@ -4147,12 +4147,13 @@ const OptionDef options[] = { ...@@ -4147,12 +4147,13 @@ const OptionDef options[] = {
static void show_banner(void) static void show_banner(void)
{ {
fprintf(stderr, "ffmpeg version " FFMPEG_VERSION ", build %d, Copyright (c) 2000-2004 Fabrice Bellard\n", fprintf(stderr, "FFmpeg version " FFMPEG_VERSION ", Copyright (c) 2000-2004 Fabrice Bellard\n");
LIBAVCODEC_BUILD); fprintf(stderr, " configuration: " FFMPEG_CONFIGURATION "\n");
fprintf(stderr, " configuration: %s\n", FFMPEG_CONFIGURATION); fprintf(stderr, " libavcodec version: " AV_STRINGIFY(LIBAVCODEC_VERSION) "\n");
fprintf(stderr, " libavformat version: " AV_STRINGIFY(LIBAVFORMAT_VERSION) "\n");
fprintf(stderr, " built on " __DATE__ " " __TIME__); fprintf(stderr, " built on " __DATE__ " " __TIME__);
#ifdef __GNUC__ #ifdef __GNUC__
fprintf(stderr, ", gcc: %s\n", __VERSION__); fprintf(stderr, ", gcc: " __VERSION__ "\n");
#else #else
fprintf(stderr, ", using a non-gcc compiler\n"); fprintf(stderr, ", using a non-gcc compiler\n");
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment