shithub: aacenc

Download patch

ref: eadb1509396bd5ce6c2dc9bc75990d3421c93e1c
parent: 19362bb4391f2ea7b994e4b2b9a2292943b12278
author: Krzysztof Nikiel <knik@users.sourceforge.net>
date: Tue Nov 14 10:33:29 EST 2017

added joint stereo backward compatibility alias

--- a/include/faaccfg.h
+++ b/include/faaccfg.h
@@ -71,8 +71,12 @@
     /* AAC object type */
     unsigned int aacObjectType;
 
-    /* Joint coding mode */
-    unsigned int jointmode;
+    union {
+        /* Joint coding mode */
+        unsigned int jointmode;
+        /* compatibility alias */
+        unsigned int allowMidside;
+    };
 
     /* Use one of the channels as LFE channel */
     unsigned int useLfe;