aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2006-01-07 20:21:36 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2006-01-07 20:21:36 +0000
commitcc59080c01d4ae25115aa28413dc96f2e609c319 (patch)
tree143b664f9478dc9950cc5fd3c32146498764c42d /ffmpeg.c
parent2692ceab8bcc0e7787ce707e9040b4d3ca79723e (diff)
downloadffmpeg-cc59080c01d4ae25115aa28413dc96f2e609c319.tar.gz
better version reporting
Originally committed as revision 4822 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 0287a15700..170c5633fb 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -4147,12 +4147,13 @@ const OptionDef options[] = {
static void show_banner(void)
{
- fprintf(stderr, "ffmpeg version " FFMPEG_VERSION ", build %d, Copyright (c) 2000-2004 Fabrice Bellard\n",
- LIBAVCODEC_BUILD);
- fprintf(stderr, " configuration: %s\n", FFMPEG_CONFIGURATION);
+ fprintf(stderr, "FFmpeg version " FFMPEG_VERSION ", Copyright (c) 2000-2004 Fabrice Bellard\n");
+ fprintf(stderr, " configuration: " FFMPEG_CONFIGURATION "\n");
+ fprintf(stderr, " libavcodec version: " AV_STRINGIFY(LIBAVCODEC_VERSION) "\n");
+ fprintf(stderr, " libavformat version: " AV_STRINGIFY(LIBAVFORMAT_VERSION) "\n");
fprintf(stderr, " built on " __DATE__ " " __TIME__);
#ifdef __GNUC__
- fprintf(stderr, ", gcc: %s\n", __VERSION__);
+ fprintf(stderr, ", gcc: " __VERSION__ "\n");
#else
fprintf(stderr, ", using a non-gcc compiler\n");
#endif