fix a compiler error, bug for bigendian

git-svn-id: https://svn.musicpd.org/mpd/trunk@228 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-03-09 16:55:00 +00:00
parent 4a4a3113b5
commit ff1659ed4c

View File

@ -188,7 +188,7 @@ int flacSendChunk(FlacData * data) {
if(data->dc->seek) return 0; if(data->dc->seek) return 0;
#ifdef WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
pcm_changeBufferEndianness(chunk,CHUNK_SIZE,data->af->bits); pcm_changeBufferEndianness(data->chunk,CHUNK_SIZE,data->af->bits);
#endif #endif
memcpy(data->cb->chunks+data->cb->end*CHUNK_SIZE,data->chunk, memcpy(data->cb->chunks+data->cb->end*CHUNK_SIZE,data->chunk,
CHUNK_SIZE); CHUNK_SIZE);