aboutsummaryrefslogtreecommitdiffstats
path: root/src/flac_decode.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-09 16:55:00 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-09 16:55:00 +0000
commitff1659ed4c37a4f760ac02d4c592c48ef42ef9db (patch)
treedcb1dcc63b1d8c54c7ec9f222093524bef47d44a /src/flac_decode.c
parent4a4a3113b5616143acdd7306d59e06b09ff2f6e8 (diff)
downloadmpd-ff1659ed4c37a4f760ac02d4c592c48ef42ef9db.tar.gz
mpd-ff1659ed4c37a4f760ac02d4c592c48ef42ef9db.tar.xz
mpd-ff1659ed4c37a4f760ac02d4c592c48ef42ef9db.zip
fix a compiler error, bug for bigendian
git-svn-id: https://svn.musicpd.org/mpd/trunk@228 09075e82-0dd4-0310-85a5-a0d7c8717e4f
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);