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:
		| @@ -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); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Warren Dukes
					Warren Dukes