[MPlayer-dev-eng] [PATCH] EDL cleanup and fixes
Reimar =?UTF8?Q?D=F6ffinger?=
Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Nov 4 16:07:30 CET 2004
Hi,
> > I agree, it is clearer, and i personally love that little trick. :)
> > but it doesn't work here, I need to work with either 1 or 0, not -1 or 0,
> > because it is compared mixer.muted, which i didn't invent, and it uses 1 or
> > 0.
> > I could use
> > user_muted = !user_muted & 1;
>
> No, I don't prefer it. But for boolean variable, != is the wrong operator anyway, ^ (boolean xor) would be right afaik.
Sorry, messed it up again. ^ is bitwise xor... Hmm... is there really no boolean xor or comparison in C???
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list