summaryrefslogtreecommitdiffstats
path: root/libaf/af_format.h
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-08 18:31:04 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-08 18:31:04 +0000
commit0f6d5e4fd967468f813daf359123b2047f9dc167 (patch)
treea12700d1d1863694b0789760ed8b43843c130c79 /libaf/af_format.h
parentd9a87e081ec260bcbd626ac990f2685a3b0fcbc2 (diff)
downloadmpv-0f6d5e4fd967468f813daf359123b2047f9dc167.tar.bz2
mpv-0f6d5e4fd967468f813daf359123b2047f9dc167.tar.xz
Change value used to indicate "unknown audio format" from 0 to -1.
0 collided with a valid format value. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20787 b3059339-0415-0410-9bf9-f77b7e298cf2
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 dffd87e85e..8963886b41 100644
--- a/libaf/af_format.h
+++ b/libaf/af_format.h
@@ -84,6 +84,8 @@
#define AF_FORMAT_FLOAT_NE AF_FORMAT_FLOAT_LE
#endif
+#define AF_FORMAT_UNKNOWN (-1)
+
extern int af_str2fmt(const char *str);
extern int af_str2fmt_short(const char *str);
extern int af_fmt2bits(int format);