search for: endswap_16

Displaying 1 result from an estimated 1 matches for "endswap_16".

2014 Jul 09
1
[PATCH] two fixes
make -f Makefile.lite cannot compile test_libFLAC/endswap.c because CPU_IS_LITTLE_ENDIAN definition is missing, and also complains about parentheses in ENDSWAP_16. 1) The first patch adds the definition of CPU_IS_LITTLE_ENDIAN into build/config.mk which allows to build test_libFLAC with Makefile.lite 2) Current ENDSWAP_16 macro (((((x) >> 8) & 0xFF) + ((x) & 0xFF) << 8)) adds (x >> 8) & 0xFF with x & 0xFF and then l...