aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-02-27 07:24:00 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-02-27 07:24:00 +0000
commitab4b28f09d74e690ad3bd8f08cd233fc3377af30 (patch)
tree888b2555b4ab5de92506426c6c3d0e9465197b61
parent0b247953c8c63baba1da93e555baff177cdf2137 (diff)
downloadffmpeg-ab4b28f09d74e690ad3bd8f08cd233fc3377af30.tar.gz
Print libavfilter version if it is enabled in configure
Originally committed as revision 12259 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--cmdutils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 0719063605..7acd61b14e 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -25,6 +25,7 @@
#include <math.h>
#include "avformat.h"
+#include "avfilter.h"
#include "avdevice.h"
#include "cmdutils.h"
#include "avstring.h"
@@ -183,6 +184,9 @@ void show_banner(const char *program_name, int program_birth_year)
fprintf(stderr, " libavcodec version: " AV_STRINGIFY(LIBAVCODEC_VERSION) "\n");
fprintf(stderr, " libavformat version: " AV_STRINGIFY(LIBAVFORMAT_VERSION) "\n");
fprintf(stderr, " libavdevice version: " AV_STRINGIFY(LIBAVDEVICE_VERSION) "\n");
+#if ENABLE_AVFILTER
+ fprintf(stderr, " libavfilter version: " AV_STRINGIFY(LIBAVFILTER_VERSION) "\n");
+#endif
fprintf(stderr, " built on " __DATE__ " " __TIME__);
#ifdef __GNUC__
fprintf(stderr, ", gcc: " __VERSION__ "\n");