diff libaf/af_format.h @ 20771:1e78e35b6c7b

Change value used to indicate "unknown audio format" from 0 to -1. 0 collided with a valid format value.
author uau
date Wed, 08 Nov 2006 18:31:04 +0000
parents 5e767cabf4cd
children 85f669a84e7a
line wrap: on
line diff
--- a/libaf/af_format.h	Wed Nov 08 17:37:50 2006 +0000
+++ b/libaf/af_format.h	Wed Nov 08 18:31:04 2006 +0000
@@ -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);