[FFmpeg-cvslog] r21477 - trunk/cmdutils.c
mru
subversion
Wed Jan 27 13:58:26 CET 2010
Author: mru
Date: Wed Jan 27 13:58:26 2010
New Revision: 21477
Log:
Prettify PRINT_LIB_VERSION macro
Modified:
trunk/cmdutils.c
Modified: trunk/cmdutils.c
==============================================================================
--- trunk/cmdutils.c Wed Jan 27 13:58:22 2010 (r21476)
+++ trunk/cmdutils.c Wed Jan 27 13:58:26 2010 (r21477)
@@ -324,12 +324,15 @@ void print_error(const char *filename, i
}
}
-#define PRINT_LIB_VERSION(outstream,libname,LIBNAME,indent) \
- if (CONFIG_##LIBNAME) { \
- version= libname##_version(); \
- fprintf(outstream, "%slib%-10s %2d.%2d.%2d / %2d.%2d.%2d\n", indent? " " : "", #libname, \
- LIB##LIBNAME##_VERSION_MAJOR, LIB##LIBNAME##_VERSION_MINOR, LIB##LIBNAME##_VERSION_MICRO, \
- version >> 16, version >> 8 & 0xff, version & 0xff); \
+#define PRINT_LIB_VERSION(outstream,libname,LIBNAME,indent) \
+ if (CONFIG_##LIBNAME) { \
+ version= libname##_version(); \
+ fprintf(outstream, "%slib%-10s %2d.%2d.%2d / %2d.%2d.%2d\n", \
+ indent? " " : "", #libname, \
+ LIB##LIBNAME##_VERSION_MAJOR, \
+ LIB##LIBNAME##_VERSION_MINOR, \
+ LIB##LIBNAME##_VERSION_MICRO, \
+ version >> 16, version >> 8 & 0xff, version & 0xff); \
}
static void print_all_lib_versions(FILE* outstream, int indent)
More information about the ffmpeg-cvslog
mailing list