[MPlayer-dev-eng]
Dominik Mierzejewski
dominik at rangers.eu.org
Sat Feb 1 14:00:54 CET 2003
On Saturday, 01 February 2003, Arpi wrote:
> 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
Oops. You're right. But since that code is obsolete, there's no harm,
right? :>>
--
MPlayer RPMs maintainer: http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/
"The Universe doesn't give you any points for doing things that are easy."
-- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
More information about the MPlayer-dev-eng
mailing list