aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-07-30 09:13:01 +0000
committerAvuton Olrich <avuton@gmail.com>2006-07-30 09:13:01 +0000
commit4144afe551eca63366316c013019bce9ad81bc94 (patch)
tree5a4d0e0865b72a2962d8b5069f79842fa161270c /src/inputPlugins
parenta80168a15b7514d58c7af2dc6d7a2b44a4791108 (diff)
downloadmpd-4144afe551eca63366316c013019bce9ad81bc94.tar.gz
mpd-4144afe551eca63366316c013019bce9ad81bc94.tar.xz
mpd-4144afe551eca63366316c013019bce9ad81bc94.zip
Now fix the mp4 plugin warnings to what they were before the dynamic linking
git-svn-id: https://svn.musicpd.org/mpd/trunk@4490 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/inputPlugins/mp4_plugin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inputPlugins/mp4_plugin.c b/src/inputPlugins/mp4_plugin.c
index c13d38b43..0cfa7f959 100644
--- a/src/inputPlugins/mp4_plugin.c
+++ b/src/inputPlugins/mp4_plugin.c
@@ -46,7 +46,7 @@ static int mp4_getAACTrack(mp4ff_t * infile)
for (i = 0; i < numTracks; i++) {
unsigned char *buff = NULL;
- int buff_size = 0;
+ unsigned int buff_size = 0;
#ifdef HAVE_MP4AUDIOSPECIFICCONFIG
mp4AudioSpecificConfig mp4ASC;
#else
@@ -99,8 +99,8 @@ static int mp4_decode(OutputBuffer * cb, DecoderControl * dc, char *path)
faacDecFrameInfo frameInfo;
faacDecConfigurationPtr config;
unsigned char *mp4Buffer;
- int mp4BufferSize;
- unsigned long sampleRate;
+ unsigned int mp4BufferSize;
+ uint32_t sampleRate;
unsigned char channels;
long sampleId;
long numSamples;