[MPlayer-dev-eng] Re: Should I write Voodoo Banshee VIDIX driver?

Torinthiel torinthiel at wp.pl
Mon Mar 22 09:39:22 CET 2004


On Sun, Mar 21, 2004 at 11:44:56PM -0800, Georgi Petrov wrote:
> Oh, yes - I check wheter something is 4 bytes aligned this way:
> 
> if ((something & ~0x3) != something) it's not 4 bytes aligned

This is strange for me. Like this i.e 7 is not 4 bytes aligned but 8 is ;)

I think you've ment if ((&something & ~0x3) != &something)
Torinthiel

-- 
 Waclaw "Torinthiel" Schiller       GG#: 542916, 3073512
   torinthiel(at)wp(dot)pl
   gpg: B06901F1 fpr: FAA3 559F CAE9 34DE CDC8  7346 2B6E 39F2 B069 01F1
 "No classmates may be used during this examination"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040322/393262e4/attachment.pgp>


More information about the MPlayer-dev-eng mailing list