[MPlayer-dev-eng]
Arpi
arpi at thot.banki.hu
Sat Feb 1 13:39:01 CET 2003
Hi,
> for(i=0;i<len;i++)
> - ((int32_t*)in_data)[i]=(int32_t)(-(1<<31-1)+((uint32_t*)in_data)[i]);
> + ((int32_t*)in_data)[i]=(int32_t)(-0xFFFFFFFF+((uint32_t*)in_data)[i]);
> break;
ye sthis is a nice 10l ... of you!
1<<31 == 0x80000000
(1<<31)-1 == 0x7FFFFFFF != 0xFFFFFFFF
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
"However, many people beg for its inclusion in Debian. Why?" - Gabucino
"Because having new software in Debian is good." - Josselin Mouette
"Because having good software in Debian is new." - Gabucino
More information about the MPlayer-dev-eng
mailing list