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:
parent
4a4a3113b5
commit
ff1659ed4c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue