shithub: opus

Download patch

ref: 163b02eb8e2434607fed2e4247a15c5f88e10b62
parent: ece94a04759369097bdbec44c282d1beffe3b026
author: Jean-Marc Valin <[email protected]>
date: Fri Oct 16 17:32:52 EDT 2009

Now using a unique ID for CELT_ALLOC_FAIL

--- a/libcelt/celt.h
+++ b/libcelt/celt.h
@@ -70,7 +70,7 @@
 /** An encoder or decoder structure is invalid or already freed */
 #define CELT_INVALID_STATE    -6
 /** Memory allocation has failed */
-#define CELT_ALLOC_FAIL    -6
+#define CELT_ALLOC_FAIL       -7
 
 /* Requests */
 #define CELT_GET_MODE_REQUEST    1