[FFmpeg-devel] need help fixing sws on PPC

Måns Rullgård mans
Tue Oct 7 23:51:37 CEST 2008


Vitor Sessak <vitor1001 at gmail.com> writes:

> Michael Niedermayer escreveu:
>> On Tue, Oct 07, 2008 at 10:36:51PM +0200, Vitor Sessak wrote:
>>
>>> +            c->pal_yuv[i]= y + (u<<8) + (v<<16);
>>> +            c->pal_rgb[i]= b | (g<<8) | (r<<16);
>>>
>>
>> is there any reason why one uses + and one | ?
>
> none. Changed to both "+"

If you use |, you can drop the ().

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list