summaryrefslogtreecommitdiffstats
path: root/stream/stream_cdda.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_cdda.c')
-rw-r--r--stream/stream_cdda.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/stream/stream_cdda.c b/stream/stream_cdda.c
index 79f700c260..d105141200 100644
--- a/stream/stream_cdda.c
+++ b/stream/stream_cdda.c
@@ -38,15 +38,12 @@
#include <stdlib.h>
#include <stdbool.h>
-#include "osdep/endian.h"
-
#include "talloc.h"
#include "stream.h"
#include "options/m_option.h"
#include "options/m_config.h"
#include "options/options.h"
-#include "osdep/mpbswap.h"
#include "common/msg.h"
@@ -176,11 +173,6 @@ static int fill_buffer(stream_t *s, char *buffer, int max_len)
if (!buf)
return 0;
-#if BYTE_ORDER == BIG_ENDIAN
- for (i = 0; i < CDIO_CD_FRAMESIZE_RAW / 2; i++)
- buf[i] = le2me_16(buf[i]);
-#endif
-
p->sector++;
memcpy(buffer, buf, CDIO_CD_FRAMESIZE_RAW);