summaryrefslogtreecommitdiffstats
path: root/libaf
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-21 15:05:31 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-21 15:05:31 +0000
commitf515356aa3c6be9960b959b81da52d2c4d17c6d1 (patch)
tree8e3e85bed662e16401c1e00f975d5e7f199b7e90 /libaf
parent6ee561dbc44f505d0fa0def91c27ba5c2fe40c26 (diff)
downloadmpv-f515356aa3c6be9960b959b81da52d2c4d17c6d1.tar.bz2
mpv-f515356aa3c6be9960b959b81da52d2c4d17c6d1.tar.xz
sanity checks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15539 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf')
-rw-r--r--libaf/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libaf/config.h b/libaf/config.h
index 22a20ae4fa..197cc5ae43 100644
--- a/libaf/config.h
+++ b/libaf/config.h
@@ -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__ */