Fixed big-endian support

This commit is contained in:
Jaroslav Kysela 2003-01-08 11:30:04 +00:00
parent 3343a6b188
commit 365af335eb
2 changed files with 10 additions and 8 deletions

View file

@ -154,7 +154,7 @@ output_spdif(uint8_t *data_start, uint8_t *data_end, int quiet)
done_banner = 1;
}
#ifndef WORDS_BIGENDIAN
#ifndef _a_b_c_d_e_f /* WORDS_BIGENDIAN */
// extract_ac3 seems to write swabbed data
swab(&buf[10], &buf[10], syncinfo.frame_size * 2 - 2);
#endif