changeset 15538:ade823c5c294

sanity checks
author alex
date Sat, 21 May 2005 15:05:31 +0000
parents 7e9403eec2f6
children a66885bcbebe
files libaf/config.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libaf/config.h	Sat May 21 15:00:27 2005 +0000
+++ b/libaf/config.h	Sat May 21 15:05:31 2005 +0000
@@ -8,10 +8,18 @@
 //=============================================================================
 */
 
+#ifndef __af_config_h__
+#define __af_config_h__
+
 #include "../config.h" // WORDS_BIGENDIAN
 
+#ifndef MPLAYER_CONFIG_H
+#error Mandatory WORDS_BIGENDIAN does not contain 0 nor 1
+#endif
+
 // Number of channels
 #ifndef AF_NCH
 #define AF_NCH 6
 #endif
 
+#endif /* __af_config_h__ */