aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorAlexander Strasser <eclipse7@gmx.net>2006-01-28 16:23:04 +0000
committerAlexander Strasser <eclipse7@gmx.net>2006-01-28 16:23:04 +0000
commit45dd4350acf66106354e30ca7ba2f3a7e5f0a7f9 (patch)
tree3731de65a067f0d0d771f9e75b71e2c1c8e81766 /ffmpeg.c
parent1b47fafd9fa21a5bdafa41848dfdccd36623ee6c (diff)
downloadffmpeg-45dd4350acf66106354e30ca7ba2f3a7e5f0a7f9.tar.gz
Print libavutil version too.
Originally committed as revision 4906 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index f859c0f05f..cb58364816 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3963,10 +3963,12 @@ static void opt_target(const char *arg)
static void show_version(void)
{
+ /* TODO: add function interface to avutil and avformat */
fprintf(stderr, "ffmpeg " FFMPEG_VERSION "\n"
+ "libavutil %d\n"
"libavcodec %d\n"
"libavformat %d\n",
- avcodec_build(), LIBAVFORMAT_BUILD);
+ LIBAVUTIL_BUILD, avcodec_build(), LIBAVFORMAT_BUILD);
exit(1);
}
@@ -4150,6 +4152,7 @@ static void show_banner(void)
{
fprintf(stderr, "FFmpeg version " FFMPEG_VERSION ", Copyright (c) 2000-2004 Fabrice Bellard\n");
fprintf(stderr, " configuration: " FFMPEG_CONFIGURATION "\n");
+ fprintf(stderr, " libavutil version: " AV_STRINGIFY(LIBAVUTIL_VERSION) "\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__);