]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
move NULL_IF_CONFIG_SMALL() definition into internal header
authoraurel <aurel@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 15 Jan 2009 23:01:26 +0000 (23:01 +0000)
committeraurel <aurel@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 15 Jan 2009 23:01:26 +0000 (23:01 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16619 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavutil/common.h
libavutil/internal.h

index a8fd92214585493490d73c02dc497f53dc19e6fa..ed295cfce3b982a95726241f5a9592528f0755a6 100644 (file)
@@ -323,15 +323,4 @@ static inline av_pure int ff_get_fourcc(const char *s){
         }\
     }
 
-/**
- * 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 */
index 78bfdd828a994119402d7c1329ad9d80957fccae..ef1233d91cbdfe6213ff387b6c123cb5bed1fd9a 100644 (file)
@@ -302,4 +302,15 @@ static av_always_inline av_const float truncf(float x)
 }
 #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 */