diff options
author | Mike Melanson <mike@multimedia.cx> | 2004-06-30 00:29:52 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2004-06-30 00:29:52 +0000 |
commit | 13100292d394cf7d42414784ab195328863cfd2e (patch) | |
tree | da15e0898a34c6eb962727f2b274d1c2bc7ba108 /ffmpeg.c | |
parent | 23ffe323d0cd36a4283802f0240452b89e048ed5 (diff) | |
download | ffmpeg-13100292d394cf7d42414784ab195328863cfd2e.tar.gz |
add some expanded information when printing the banner, and always print
the banner; this will hopefully help in bug reporting
Originally committed as revision 3267 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -3756,7 +3756,15 @@ const OptionDef options[] = { static void show_banner(void) { - printf("ffmpeg version " FFMPEG_VERSION ", Copyright (c) 2000-2003 Fabrice Bellard\n"); + printf("ffmpeg version " FFMPEG_VERSION ", build %d, Copyright (c) 2000-2004 Fabrice Bellard\n", + LIBAVCODEC_BUILD); + printf(" built on " __DATE__ " " __TIME__); +#ifdef __GNUC__ + printf(", using gcc %d.%d.%d\n", + __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__); +#else + printf(", using a non-gcc compiler\n"); +#endif } static void show_license(void) @@ -3841,6 +3849,8 @@ int main(int argc, char **argv) if (argc <= 1) show_help(); + else + show_banner(); /* parse options */ parse_options(argc, argv, options); |