changeset 7648:7ee8239bfcc0

I think libfaad2 changed recently. The functions faacDecInit() and faacDecInit2() now return the number of channels through a pointer to char (was: pointer to long). patch by Uwe.Reder@3SOFT.de
author arpi
date Mon, 07 Oct 2002 10:18:46 +0000
parents 936d3d41e373
children 90e16aa8ae5f
files libmpcodecs/ad_faad.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_faad.c	Mon Oct 07 09:15:30 2002 +0000
+++ b/libmpcodecs/ad_faad.c	Mon Oct 07 10:18:46 2002 +0000
@@ -45,7 +45,8 @@
 
 static int init(sh_audio_t *sh)
 {
-  unsigned long faac_samplerate, faac_channels;
+  unsigned long faac_samplerate;
+  unsigned char faac_channels;
   int faac_init;
   faac_hdec = faacDecOpen();