aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/mp4_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:15:24 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:15:24 +0000
commit05c41a80ed4c62ea66bdf5aa95d1b5b0fdc79d30 (patch)
tree784b79fce719227eb02b2fe6901c4601a8ef2549 /src/inputPlugins/mp4_plugin.c
parent2ede0780f66ce0064c625e4611b29e2400467303 (diff)
downloadmpd-05c41a80ed4c62ea66bdf5aa95d1b5b0fdc79d30.tar.gz
mpd-05c41a80ed4c62ea66bdf5aa95d1b5b0fdc79d30.tar.xz
mpd-05c41a80ed4c62ea66bdf5aa95d1b5b0fdc79d30.zip
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
Diffstat (limited to '')
-rw-r--r--src/inputPlugins/mp4_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputPlugins/mp4_plugin.c b/src/inputPlugins/mp4_plugin.c
index c4a04f582..adaa644b9 100644
--- a/src/inputPlugins/mp4_plugin.c
+++ b/src/inputPlugins/mp4_plugin.c
@@ -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;