Re: Linux 2.6.9-rc2

Peter Osterlund
2004-09-15T18:44:50Z

Gerd Knorr <kraxel@bytesex.org> writes:

> > I found the change that crashes my computer. This patch is enough to
> > fix it for me:
> >
> > - if (!yoffset)
> > - chroma = (line & 1) == 0;
> > - else
> > - chroma = (line & 1) == 1;
>
> Does the one below work as well?
...
> - chroma = (line & 1) == 0;
> + chroma = ((line & 1) == 0);

No, that patch makes no difference, because == has higher precedence
than = in C. (I also verified that this patch doesn't change the
generated object code, so compiler bugs aren't an issue either.)

--
Peter Osterlund - petero2@telia.com