diff --git a/src/flac_decode.c b/src/flac_decode.c index d60ae636f..559721c21 100644 --- a/src/flac_decode.c +++ b/src/flac_decode.c @@ -188,7 +188,7 @@ int flacSendChunk(FlacData * data) { if(data->dc->seek) return 0; #ifdef WORDS_BIGENDIAN - pcm_changeBufferEndianness(chunk,CHUNK_SIZE,data->af->bits); + pcm_changeBufferEndianness(data->chunk,CHUNK_SIZE,data->af->bits); #endif memcpy(data->cb->chunks+data->cb->end*CHUNK_SIZE,data->chunk, CHUNK_SIZE);