fix parameter types in the faad calls

libfaad wants uint32_t pointers.  Passing a long pointer is bugged on
amd64.

git-svn-id: https://svn.musicpd.org/mpd/trunk@7289 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Max Kellermann 2008-04-12 04:15:24 +00:00 committed by Eric Wong
parent 2ede0780f6
commit 05c41a80ed
2 changed files with 3 additions and 3 deletions

View File

@ -234,7 +234,7 @@ static float getAacFloatTotalTime(char *file)
size_t fileread, tagsize;
faacDecHandle decoder;
faacDecConfigurationPtr config;
unsigned long sampleRate;
uint32_t sampleRate;
unsigned char channels;
InputStream inStream;
long bread;
@ -290,7 +290,7 @@ static int aac_decode(OutputBuffer * cb, DecoderControl * dc, char *path)
faacDecFrameInfo frameInfo;
faacDecConfigurationPtr config;
long bread;
unsigned long sampleRate;
uint32_t sampleRate;
unsigned char channels;
int eof = 0;
unsigned int sampleCount;

View File

@ -97,7 +97,7 @@ static int mp4_decode(OutputBuffer * cb, DecoderControl * dc,
faacDecConfigurationPtr config;
unsigned char *mp4Buffer;
unsigned int mp4BufferSize;
unsigned long sampleRate;
uint32_t sampleRate;
unsigned char channels;
long sampleId;
long numSamples;