summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_ac3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers/demux_ac3.c')
-rw-r--r--src/demuxers/demux_ac3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/demux_ac3.c b/src/demuxers/demux_ac3.c
index bb4bc8b4e..ce33ab3c8 100644
--- a/src/demuxers/demux_ac3.c
+++ b/src/demuxers/demux_ac3.c
@@ -178,10 +178,10 @@ static int open_ac3_file(demux_ac3_t *this) {
lprintf("looks like a cd audio wav file\n");
/* Find the data chunk */
- offset = 20 + LE_32(&peak[16]);
+ offset = 20 + _X_LE_32(&peak[16]);
while (offset < peak_size-8) {
- unsigned int chunk_tag = LE_32(&peak[offset]);
- unsigned int chunk_size = LE_32(&peak[offset+4]);
+ unsigned int chunk_tag = _X_LE_32(&peak[offset]);
+ unsigned int chunk_size = _X_LE_32(&peak[offset+4]);
if (chunk_tag == DATA_TAG) {
offset += 8;