Commit ff1659ed authored by Warren Dukes's avatar Warren Dukes

fix a compiler error, bug for bigendian

git-svn-id: https://svn.musicpd.org/mpd/trunk@228 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 4a4a3113
...@@ -188,7 +188,7 @@ int flacSendChunk(FlacData * data) { ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment