Make show_version()/show_banner() print the libswscale versions if

enabled.

Originally committed as revision 15031 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Stefano Sabatini 17 years ago
parent b3e03fa7b0
commit db6d50c754
  1. 4
      cmdutils.c

@ -28,6 +28,7 @@
#include "libavformat/avformat.h" #include "libavformat/avformat.h"
#include "libavfilter/avfilter.h" #include "libavfilter/avfilter.h"
#include "libavdevice/avdevice.h" #include "libavdevice/avdevice.h"
#include "libswscale/swscale.h"
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "cmdutils.h" #include "cmdutils.h"
#include "version.h" #include "version.h"
@ -212,6 +213,9 @@ void print_all_lib_versions(FILE* outstream, int indent)
#if ENABLE_AVFILTER #if ENABLE_AVFILTER
PRINT_LIB_VERSION(outstream, avfilter, AVFILTER, indent); PRINT_LIB_VERSION(outstream, avfilter, AVFILTER, indent);
#endif #endif
#if ENABLE_SWSCALE
PRINT_LIB_VERSION(outstream, swscale, SWSCALE, indent);
#endif
} }
void show_banner(void) void show_banner(void)

Loading…
Cancel
Save