Make show_version()/show_banner() print the libswscale versions if
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 29 Aug 2008 18:25:14 +0000 (18:25 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 29 Aug 2008 18:25:14 +0000 (18:25 +0000)
enabled.

Originally committed as revision 15031 to svn://svn.ffmpeg.org/ffmpeg/trunk

cmdutils.c

index 2904ca9..7169851 100644 (file)
@@ -28,6 +28,7 @@
 #include "libavformat/avformat.h"
 #include "libavfilter/avfilter.h"
 #include "libavdevice/avdevice.h"
 #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"
 #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_AVFILTER
     PRINT_LIB_VERSION(outstream, avfilter, AVFILTER, indent);
 #endif
+#if ENABLE_SWSCALE
+    PRINT_LIB_VERSION(outstream, swscale, SWSCALE, indent);
+#endif
 }
 
 void show_banner(void)
 }
 
 void show_banner(void)