From db6d50c754d71737a562487b5f1b3b3547ae3237 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Fri, 29 Aug 2008 18:25:14 +0000 Subject: [PATCH] Make show_version()/show_banner() print the libswscale versions if enabled. Originally committed as revision 15031 to svn://svn.ffmpeg.org/ffmpeg/trunk --- cmdutils.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmdutils.c b/cmdutils.c index 2904ca953d..716985124d 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -28,6 +28,7 @@ #include "libavformat/avformat.h" #include "libavfilter/avfilter.h" #include "libavdevice/avdevice.h" +#include "libswscale/swscale.h" #include "libavutil/avstring.h" #include "cmdutils.h" #include "version.h" @@ -212,6 +213,9 @@ void print_all_lib_versions(FILE* outstream, int indent) #if ENABLE_AVFILTER PRINT_LIB_VERSION(outstream, avfilter, AVFILTER, indent); #endif +#if ENABLE_SWSCALE + PRINT_LIB_VERSION(outstream, swscale, SWSCALE, indent); +#endif } void show_banner(void)