pcm: fix const flac in pcm_convertSampleRate()

In the libsamplerate fallback code, a "const" attribute was missing.
This commit is contained in:
Max Kellermann 2008-10-09 15:18:18 +02:00
parent 40f59cacda
commit 671b455133

View File

@ -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;