From 4144afe551eca63366316c013019bce9ad81bc94 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Sun, 30 Jul 2006 09:13:01 +0000 Subject: 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 --- src/inputPlugins/mp4_plugin.c | 6 +++--- 1 file 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; -- cgit v1.2.3