diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-07-22 13:05:04 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-07-22 13:05:04 +0000 |
commit | 1044a92a5eff2a90f8bff6deb79c57e1aa3531de (patch) | |
tree | 3e37b00000009c24163f02f874d7182a8fd6b00c /cmdutils.c | |
parent | b6525b4b2a2781682df566eadbeb8ef058fcda9a (diff) | |
download | ffmpeg-1044a92a5eff2a90f8bff6deb79c57e1aa3531de.tar.gz |
Rename:
PRINT_LIB_VERSION() -> PRINT_LIB_INFO()
print_all_lib_versions() -> print_all_libs_info()
Originally committed as revision 24433 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/cmdutils.c b/cmdutils.c index 545c26d75b..c57d69b6ce 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -304,7 +304,7 @@ void print_error(const char *filename, int err) #define INDENT 1 #define SHOW_VERSION 2 -#define PRINT_LIB_VERSION(outstream,libname,LIBNAME,flags) \ +#define PRINT_LIB_INFO(outstream,libname,LIBNAME,flags) \ if (CONFIG_##LIBNAME) { \ if (flags & SHOW_VERSION) { \ unsigned int version = libname##_version(); \ @@ -317,16 +317,16 @@ void print_error(const char *filename, int err) } \ } \ -static void print_all_lib_versions(FILE* outstream, int flags) +static void print_all_libs_info(FILE* outstream, int flags) { - PRINT_LIB_VERSION(outstream, avutil, AVUTIL, flags); - PRINT_LIB_VERSION(outstream, avcore, AVCORE, flags); - PRINT_LIB_VERSION(outstream, avcodec, AVCODEC, flags); - PRINT_LIB_VERSION(outstream, avformat, AVFORMAT, flags); - PRINT_LIB_VERSION(outstream, avdevice, AVDEVICE, flags); - PRINT_LIB_VERSION(outstream, avfilter, AVFILTER, flags); - PRINT_LIB_VERSION(outstream, swscale, SWSCALE, flags); - PRINT_LIB_VERSION(outstream, postproc, POSTPROC, flags); + PRINT_LIB_INFO(outstream, avutil, AVUTIL, flags); + PRINT_LIB_INFO(outstream, avcore, AVCORE, flags); + PRINT_LIB_INFO(outstream, avcodec, AVCODEC, flags); + PRINT_LIB_INFO(outstream, avformat, AVFORMAT, flags); + PRINT_LIB_INFO(outstream, avdevice, AVDEVICE, flags); + PRINT_LIB_INFO(outstream, avfilter, AVFILTER, flags); + PRINT_LIB_INFO(outstream, swscale, SWSCALE, flags); + PRINT_LIB_INFO(outstream, postproc, POSTPROC, flags); } static void maybe_print_config(const char *lib, const char *cfg) @@ -362,12 +362,12 @@ void show_banner(void) PRINT_LIB_CONFIG(AVFILTER, "libavfilter", avfilter_configuration()); PRINT_LIB_CONFIG(SWSCALE, "libswscale", swscale_configuration()); PRINT_LIB_CONFIG(POSTPROC, "libpostproc", postproc_configuration()); - print_all_lib_versions(stderr, INDENT|SHOW_VERSION); + print_all_libs_info(stderr, INDENT|SHOW_VERSION); } void show_version(void) { printf("%s " FFMPEG_VERSION "\n", program_name); - print_all_lib_versions(stdout, SHOW_VERSION); + print_all_libs_info(stdout, SHOW_VERSION); } void show_license(void) |