summaryrefslogtreecommitdiffstats
path: root/libaf/af_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'libaf/af_format.h')
-rw-r--r--libaf/af_format.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libaf/af_format.h b/libaf/af_format.h
index 66a74c901e..3f1250b430 100644
--- a/libaf/af_format.h
+++ b/libaf/af_format.h
@@ -103,6 +103,8 @@
#define AF_FORMAT_UNKNOWN (-1)
+#define AF_FORMAT_IS_AC3(fmt) (((fmt) & AF_FORMAT_SPECIAL_MASK) == AF_FORMAT_AC3)
+
int af_str2fmt(const char *str);
int af_str2fmt_short(const char *str);
int af_fmt2bits(int format);