aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/decoder_api.c3
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;