shithub: aacdec

Download patch

ref: 891c06aa22f6b92b8021a5f622493ee460e3b8ed
parent: deb00934e5084f5e171bc2a831e5af779f13d8c2
author: menno <menno>
date: Sun Jan 11 10:29:10 EST 2004

Multichannel bugfix

--- a/libfaad/sbr_dec.c
+++ b/libfaad/sbr_dec.c
@@ -22,7 +22,7 @@
 ** Commercial non-GPL licensing of this software is possible.
 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
 **
-** $Id: sbr_dec.c,v 1.20 2004/01/10 18:52:47 menno Exp $
+** $Id: sbr_dec.c,v 1.21 2004/01/11 15:29:10 menno Exp $
 **/
 
 
@@ -158,7 +158,7 @@
     ALIGN real_t deg[64];
 #endif
 
-    channels = (sbr->id_aac == ID_SCE) ? 1 : 2;
+    channels = (sbr->id_aac == ID_CPE) ? 2 : 1;
 
     if (sbr->ret || (sbr->header_count == 0))
     {