From 6910cdaae18a9b97527ca0978a9b33a3e52866b1 Mon Sep 17 00:00:00 2001 From: reimar Date: Mon, 11 Jan 2010 19:23:18 +0000 Subject: Add and use AF_FORMAT_IS_AC3 macro. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30276 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libaf/af_format.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libaf') 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); -- cgit v1.2.3