summaryrefslogtreecommitdiffstats
path: root/libaf/format.h
diff options
context:
space:
mode:
Diffstat (limited to 'libaf/format.h')
-rw-r--r--libaf/format.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libaf/format.h b/libaf/format.h
index 36f5c3fb59..e60c0789b9 100644
--- a/libaf/format.h
+++ b/libaf/format.h
@@ -66,6 +66,8 @@
#define AF_FORMAT_IEC61937 (6<<6)
#define AF_FORMAT_SPECIAL_MASK (7<<6)
+#define AF_FORMAT_MASK ((1<<9)-1)
+
// PREDEFINED formats
#define AF_FORMAT_U8 (AF_FORMAT_I|AF_FORMAT_US|AF_FORMAT_8BIT|AF_FORMAT_NE)