aboutsummaryrefslogtreecommitdiffstats
path: root/src/flac_decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flac_decode.c')
-rw-r--r--src/flac_decode.c2
1 files changed, 1 insertions, 1 deletions
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);