Index: aacdecoder.cpp
===================================================================
--- aacdecoder.cpp	(revision 20019)
+++ aacdecoder.cpp	(working copy)
@@ -301,7 +301,7 @@
 // some linux distros (gentoo, debian) modify the faad2 api with stdint.h types
 // instead of unsigned long int
 #ifdef FAAD_MODIFIED
-    uint32_t srate_tmp;
+    uint32_t* srate_tmp;
     int err = faacDecInit2(decoder_handle, buffer, buffer_size, &srate_tmp, &channels);
     sample_rate = srate_tmp;
     if (err < 0)
Index: aacdecoder.h
===================================================================
--- aacdecoder.h	(revision 20019)
+++ aacdecoder.h	(working copy)
@@ -51,7 +51,7 @@
     bool done, finish;
     long len, bitrate;
     uchar channels;
-    unsigned long sample_rate;
+    uint32_t sample_rate;
     unsigned long output_size;
     double totalTime, seekTime;
 
