decoder_api: convert data to host byte order

This commit is contained in:
Max Kellermann 2011-10-10 09:13:30 +02:00
parent 0129d1e158
commit 26225307d3

View File

@ -56,6 +56,9 @@ decoder_initialized(struct decoder *decoder,
dc->in_audio_format = *audio_format;
getOutputAudioFormat(audio_format, &dc->out_audio_format);
/* force host byte order, even if the decoder supplies reverse
endian */
dc->out_audio_format.reverse_endian = false;
dc->seekable = seekable;
dc->total_time = total_time;