Commit 05c41a80 authored by Max Kellermann's avatar Max Kellermann Committed by Eric Wong

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
parent 2ede0780
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment