aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/aac_plugin.c
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2005-03-29 00:41:59 +0000
committerAvuton Olrich <avuton@gmail.com>2005-03-29 00:41:59 +0000
commitf962c1034edbaef51789e8922d843abb25515cb9 (patch)
tree9e26d04a2f1523ac4441bb91bc5a7acb6c0da7e8 /src/inputPlugins/aac_plugin.c
parentf814dd22abe42b45f0751250a52e2fd42261ef30 (diff)
downloadmpd-f962c1034edbaef51789e8922d843abb25515cb9.tar.gz
mpd-f962c1034edbaef51789e8922d843abb25515cb9.tar.xz
mpd-f962c1034edbaef51789e8922d843abb25515cb9.zip
- Fix incompatible type warnings
git-svn-id: https://svn.musicpd.org/mpd/trunk@3169 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/inputPlugins/aac_plugin.c')
-rw-r--r--src/inputPlugins/aac_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inputPlugins/aac_plugin.c b/src/inputPlugins/aac_plugin.c
index 1d844426a..2c5dbe05e 100644
--- a/src/inputPlugins/aac_plugin.c
+++ b/src/inputPlugins/aac_plugin.c
@@ -206,7 +206,7 @@ float getAacFloatTotalTime(char * file) {
size_t fileread, tagsize;
faacDecHandle decoder;
faacDecConfigurationPtr config;
- unsigned long sampleRate;
+ unsigned int sampleRate;
unsigned char channels;
InputStream inStream;
size_t bread;
@@ -257,7 +257,7 @@ int aac_decode(OutputBuffer * cb, DecoderControl * dc, char * path) {
faacDecFrameInfo frameInfo;
faacDecConfigurationPtr config;
size_t bread;
- unsigned long sampleRate;
+ unsigned int sampleRate;
unsigned char channels;
int eof = 0;
unsigned int sampleCount;