Erik de Castro Lopo
6b00dc26b2
Another bulk update of copyright dates
2016-12-05 19:07:13 +11:00
Erik de Castro Lopo
6c03ab204a
Clean up #includes
...
Patch-from: lvqcl <lvqcl.mail@gmail.com >
2016-01-24 08:08:55 +11:00
Erik de Castro Lopo
6cc1cbad2c
libFLAC: Support 64bit brword/bwword
...
This patch allows FLAC__BYTES_PER_WORD to be set to 8, but is disabled by
default.
Patch-from: lvqcl <lvqcl.mail@gmail.com >
2016-01-04 10:31:35 +11:00
Erik de Castro Lopo
39d9791b03
More date fixes.
2014-11-25 20:02:22 +11:00
Erik de Castro Lopo
b7d13c0716
include/share/endswap.h : Fix usage of HAVE_BSWAP16.
...
The code was incorrectly using #ifndef on a value that was always defined
to a value of either 0 or 1.
2014-11-12 07:06:20 -08:00
Ralph Giles
7a671e7c41
Use a configure check for bswap16 instead of gcc version #ifdefs.
...
Fixes a build problem on apple clang.
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com >
2014-11-04 21:18:48 -08:00
Erik de Castro Lopo
7c66452886
include/share/endswap.h : Improvements to fallthrough ENDSWAP_*.
...
According to patch author GCC can optimize expressions like
"(a<<8)|(a>>8)", but has problems with "(a<<8)+(a>>8)".
Patch-from: lvqcl <lvqcl.mail@gmail.com >
2014-08-09 12:49:38 +10:00
Erik de Castro Lopo
b08c520d33
include/share/endswap.h : Fix default ENDSWAP_16.
...
Patch-from: lvqcl <lvqcl.mail@gmail.com >
2014-07-13 20:37:00 +10:00
Ralph Giles
22d4893d28
Fix bswap16 issue on Debian 6.
...
Versions of GCC prior to 4.8 didn't provide an implementation
of __builtin_bswap16 on x86_64. Detect those versions and
supply a fallback implementation. A cleaner fix would be
to detect bswap16 independently of bswap32 in configure
and handle them separately.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52624
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com >
2014-07-03 18:59:49 +10:00
Erik de Castro Lopo
0d1cb19525
include/share/endswap.h : Fix fallback ENDSWAP_16 macro.
2014-06-30 09:20:09 +10:00
Erik de Castro Lopo
699e7c457a
include/share/endswap.h : Add endswapping of 16 bit values.
...
Also add macros H2LE_16 and H2LE_32, which do host to little-endian
swapping of 16 and 32 bit values respectively.
2014-06-29 20:20:06 +10:00
Erik de Castro Lopo
b9574fe589
Fix a bunch of compiler warnings (mainly MinGW).
2013-04-07 13:44:45 +10:00
Erik de Castro Lopo
2f8b6a0349
Rename ENDSWAP_INT to ENDSWAP_32.
2012-03-05 21:12:20 +11:00
Erik de Castro Lopo
d7bfc779c8
Add XIPH_BSWAP32 configure macro to detect __builtin_bswap32() intrinsic.
2012-02-06 07:15:48 +11:00
Erik de Castro Lopo
a5d1d4f0c5
Improve endswapping (especially purge ntohl).
2012-02-05 11:24:14 +11:00