diff options
author | Max Kellermann <max@duempel.org> | 2011-10-10 09:13:30 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-10-10 10:13:43 +0200 |
commit | 26225307d30d91c9a33166f775b00775c4d2802e (patch) | |
tree | 37ae3b65ec61f499dd180b0f6bd5172b9bb1742f /src/decoder | |
parent | 0129d1e158c4de289adfbb26ae7ea54b26e049ad (diff) | |
download | mpd-26225307d30d91c9a33166f775b00775c4d2802e.tar.gz mpd-26225307d30d91c9a33166f775b00775c4d2802e.tar.xz mpd-26225307d30d91c9a33166f775b00775c4d2802e.zip |
decoder_api: convert data to host byte order
Diffstat (limited to '')
-rw-r--r-- | src/decoder_api.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c index 203a7cebb..9fdb71311 100644 --- a/src/decoder_api.c +++ b/src/decoder_api.c @@ -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; |