diff options
Diffstat (limited to 'apps/plugins/a52towav.c')
-rw-r--r-- | apps/plugins/a52towav.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/apps/plugins/a52towav.c b/apps/plugins/a52towav.c index 7bec8f290f..32353d823f 100644 --- a/apps/plugins/a52towav.c +++ b/apps/plugins/a52towav.c | |||
@@ -31,17 +31,10 @@ | |||
31 | 31 | ||
32 | static struct plugin_api* rb; | 32 | static struct plugin_api* rb; |
33 | 33 | ||
34 | /* FIX: We can remove this warning when the build system has a | ||
35 | mechanism for auto-detecting the endianness of the target CPU - | ||
36 | WORDS_BIGENDIAN is defined in liba52/config.h and is also used | ||
37 | internally by liba52. | ||
38 | */ | ||
39 | |||
40 | #ifdef WORDS_BIGENDIAN | 34 | #ifdef WORDS_BIGENDIAN |
41 | #warning ************************************* BIG ENDIAN | 35 | #define LE_S16(x) ( (uint16_t) ( ((uint16_t)(x) >> 8) | ((uint16_t)(x) << 8) ) ) |
42 | #define LE_S16(x) ( (uint16_t) ( ((uint16_t)(x) >> 8) | ((uint16_t)(x) << 8) ) ) | ||
43 | #else | 36 | #else |
44 | #define LE_S16(x) (x) | 37 | #define LE_S16(x) (x) |
45 | #endif | 38 | #endif |
46 | 39 | ||
47 | 40 | ||