[FFmpeg-cvslog] r16619 - in trunk/libavutil: common.h internal.h

aurel subversion
Fri Jan 16 00:01:26 CET 2009


Author: aurel
Date: Fri Jan 16 00:01:26 2009
New Revision: 16619

Log:
move NULL_IF_CONFIG_SMALL() definition into internal header

Modified:
   trunk/libavutil/common.h
   trunk/libavutil/internal.h

Modified: trunk/libavutil/common.h
==============================================================================
--- trunk/libavutil/common.h	Thu Jan 15 23:58:35 2009	(r16618)
+++ trunk/libavutil/common.h	Fri Jan 16 00:01:26 2009	(r16619)
@@ -323,15 +323,4 @@ static inline av_pure int ff_get_fourcc(
         }\
     }
 
-/**
- * Returns NULL if CONFIG_SMALL is true otherwise the argument
- * without modifications, used to disable the definition of strings
- * (for example AVCodec long_names).
- */
-#if CONFIG_SMALL
-#   define NULL_IF_CONFIG_SMALL(x) NULL
-#else
-#   define NULL_IF_CONFIG_SMALL(x) x
-#endif
-
 #endif /* AVUTIL_COMMON_H */

Modified: trunk/libavutil/internal.h
==============================================================================
--- trunk/libavutil/internal.h	Thu Jan 15 23:58:35 2009	(r16618)
+++ trunk/libavutil/internal.h	Fri Jan 16 00:01:26 2009	(r16619)
@@ -302,4 +302,15 @@ static av_always_inline av_const float t
 }
 #endif /* HAVE_TRUNCF */
 
+/**
+ * Returns NULL if CONFIG_SMALL is true otherwise the argument
+ * without modifications, used to disable the definition of strings
+ * (for example AVCodec long_names).
+ */
+#if CONFIG_SMALL
+#   define NULL_IF_CONFIG_SMALL(x) NULL
+#else
+#   define NULL_IF_CONFIG_SMALL(x) x
+#endif
+
 #endif /* AVUTIL_INTERNAL_H */




More information about the ffmpeg-cvslog mailing list