diff options
author | Max Kellermann <max@duempel.org> | 2008-10-09 15:18:18 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-09 15:18:18 +0200 |
commit | 671b455133546abbff3f5e4ceb2d43359a912a5e (patch) | |
tree | a4e5c3907e980bf19dcae73acbbed4b9ebcdf6e6 | |
parent | 40f59cacda872a494cf033a6f74da7feae282367 (diff) | |
download | mpd-671b455133546abbff3f5e4ceb2d43359a912a5e.tar.gz mpd-671b455133546abbff3f5e4ceb2d43359a912a5e.tar.xz mpd-671b455133546abbff3f5e4ceb2d43359a912a5e.zip |
pcm: fix const flac in pcm_convertSampleRate()
In the libsamplerate fallback code, a "const" attribute was missing.
-rw-r--r-- | src/pcm_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_utils.c b/src/pcm_utils.c index c3526f9d1..d60fcce66 100644 --- a/src/pcm_utils.c +++ b/src/pcm_utils.c @@ -329,7 +329,7 @@ static size_t pcm_convertSampleRate(int8_t channels, uint32_t inSampleRate, { uint32_t rd_dat = 0; uint32_t wr_dat = 0; - int16_t *in = (int16_t *)inBuffer; + const int16_t *in = (const int16_t *)inBuffer; int16_t *out = (int16_t *)outBuffer; uint32_t nlen = outSize / 2; int16_t lsample, rsample; |