mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-23 12:02:39 -05:00
Repair mpegplayer on 64 bit sims. No reason for doing fancy bitshifting opts, this is all compile time...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14659 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cd9b51274f
commit
2e305c6381
1 changed files with 7 additions and 7 deletions
|
|
@ -451,14 +451,14 @@ static void init_mad(void* mad_frame_overlap)
|
||||||
#else
|
#else
|
||||||
/* Don't know what this is - use bytewise comparisons */
|
/* Don't know what this is - use bytewise comparisons */
|
||||||
#define CMP_3_CONST(a, b) \
|
#define CMP_3_CONST(a, b) \
|
||||||
(( ((a)[0] ^ ((b) >> 24)) | \
|
(( ((a)[0] ^ (((b) >> 24) & 0xff)) | \
|
||||||
((a)[1] ^ ((b) << 8 >> 24)) | \
|
((a)[1] ^ (((b) >> 16) & 0xff)) | \
|
||||||
((a)[2] ^ ((b) << 16 >> 24)) ) == 0)
|
((a)[2] ^ (((b) >> 8) & 0xff)) ) == 0)
|
||||||
#define CMP_4_CONST(a, b) \
|
#define CMP_4_CONST(a, b) \
|
||||||
(( ((a)[0] ^ ((b) >> 24)) | \
|
(( ((a)[0] ^ (((b) >> 24) & 0xff)) | \
|
||||||
((a)[1] ^ ((b) << 8 >> 24)) | \
|
((a)[1] ^ (((b) >> 16) & 0xff)) | \
|
||||||
((a)[2] ^ ((b) << 16 >> 24)) | \
|
((a)[2] ^ (((b) >> 8) & 0xff)) | \
|
||||||
((a)[3] ^ ((b) << 24 >> 24)) ) == 0)
|
((a)[3] ^ ((b) & 0xff)) ) == 0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Codes for various header byte sequences - MSB represents lowest memory
|
/* Codes for various header byte sequences - MSB represents lowest memory
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue