shithub: aacdec

Download patch

ref: ec8e4093c3354d1248374f8e27ea1e388d1f922a
parent: ea248e71132f156dcc1d2b9b5bfc9f6826ef34d5
author: menno <menno>
date: Wed Jan 23 18:42:25 EST 2002

bugfix

--- a/frontend/main.c
+++ b/frontend/main.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: main.c,v 1.10 2002/01/21 23:27:10 menno Exp $
+** $Id: main.c,v 1.11 2002/01/23 23:42:25 menno Exp $
 **/
 
 #ifdef _WIN32
@@ -283,7 +283,7 @@
     return frameInfo.error;
 }
 
-int GetAACTrack(MP4FileHandle *infile)
+int GetAACTrack(MP4FileHandle infile)
 {
     /* find AAC track */
     int i, rc;
@@ -329,7 +329,7 @@
     unsigned long samplerate, channels;
     void *sample_buffer;
 
-    MP4FileHandle *infile;
+    MP4FileHandle infile;
     MP4SampleId sampleId, numSamples;
 
     audio_file *aufile;
--- 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.4 2002/01/23 23:17:31 menno Exp $
+** $Id: in_mp4.c,v 1.5 2002/01/23 23:42:14 menno Exp $
 **/
 
 #define WIN32_LEAN_AND_MEAN
@@ -56,7 +56,7 @@
 typedef struct state
 {
     faacDecHandle hDecoder;
-    MP4FileHandle *mp4file;
+    MP4FileHandle mp4file;
     int mp4track;
     MP4SampleId numSamples;
     MP4SampleId sampleId;
@@ -106,7 +106,7 @@
     return c1 - c2;
 }
 
-int GetAACTrack(MP4FileHandle *infile)
+int GetAACTrack(MP4FileHandle infile)
 {
     /* find AAC track */
     int i, rc;
@@ -139,7 +139,7 @@
     return -1;
 }
 
-int GetAudioTrack(MP4FileHandle *infile)
+int GetAudioTrack(MP4FileHandle infile)
 {
     /* find AAC track */
     int i;
@@ -160,7 +160,7 @@
     return -1;
 }
 
-int GetVideoTrack(MP4FileHandle *infile)
+int GetVideoTrack(MP4FileHandle infile)
 {
     /* find AAC track */
     int i;