shithub: aacdec

Download patch

ref: 8375349476e7df19b35005f148e6175fa8d05d0e
parent: 95b26ea83a1a4e62640bc3f13b47d35ea9baa6bd
author: menno <menno>
date: Thu May 30 14:01:37 EDT 2002

Small update after latest changes in libfaad2

--- a/aacDECdrop/decode.c
+++ b/aacDECdrop/decode.c
@@ -16,8 +16,8 @@
 ** along with this program; if not, write to the Free Software
 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 **
-** $Id: decode.c,v 1.2 2002/04/14 16:31:02 menno Exp $
-** $Id: decode.c,v 1.2 2002/04/14 16:31:02 menno Exp $
+** $Id: decode.c,v 1.3 2002/05/30 18:01:37 menno Exp $
+** $Id: decode.c,v 1.3 2002/05/30 18:01:37 menno Exp $
 **/
 
 #ifdef _WIN32
@@ -283,7 +283,8 @@
 
 			if (buff)
 			{
-				rc = AudioSpecificConfig(buff, &dummy32, &dummy8, &dummy8, &dummy8);
+				rc = AudioSpecificConfig(buff, &dummy32, &dummy8, &dummy8, &dummy8,
+                    &dummy8, &dummy8, &dummy8);
 				free(buff);
 
 				if (rc < 0)
--- a/plugins/in_mp4/in_mp4.c
+++ b/plugins/in_mp4/in_mp4.c
@@ -16,7 +16,7 @@
 ** along with this program; if not, write to the Free Software 
 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 **
-** $Id: in_mp4.c,v 1.9 2002/02/25 19:58:33 menno Exp $
+** $Id: in_mp4.c,v 1.10 2002/05/30 17:57:36 menno Exp $
 **/
 
 #define WIN32_LEAN_AND_MEAN
@@ -127,7 +127,8 @@
 
             if (buff)
             {
-                rc = AudioSpecificConfig(buff, &dummy32, &dummy8, &dummy8, &dummy8);
+                rc = AudioSpecificConfig(buff, &dummy32, &dummy8, &dummy8, &dummy8,
+                    &dummy8, &dummy8, &dummy8);
                 free(buff);
 
                 if (rc < 0)
@@ -252,7 +253,7 @@
                                WPARAM wParam, LPARAM lParam)
 {
     int i, width, height, numFrames;
-    unsigned char ch, sf;
+    unsigned char ch, sf, dummy8;
     float fps;
     MP4FileHandle file;
     int track;
@@ -359,7 +360,8 @@
 
             if (buff)
             {
-                AudioSpecificConfig(buff, &timeScale, &ch, &sf, &type);
+                AudioSpecificConfig(buff, &timeScale, &ch, &sf, &type,
+                    &dummy8, &dummy8, &dummy8);
                 typeName = mpeg4AudioNames[type];
                 free(buff);