From ab4b28f09d74e690ad3bd8f08cd233fc3377af30 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Wed, 27 Feb 2008 07:24:00 +0000 Subject: [PATCH] Print libavfilter version if it is enabled in configure Originally committed as revision 12259 to svn://svn.ffmpeg.org/ffmpeg/trunk --- cmdutils.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmdutils.c b/cmdutils.c index 071906360..7acd61b14 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -25,6 +25,7 @@ #include #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"); -- 2.34.1