[FFmpeg-soc] [soc]: r1699 - eac3/eac3dec.c

Justin Ruggles justinruggles at bellsouth.net
Sun Dec 30 17:15:11 CET 2007


Michael Niedermayer wrote:
> On Sun, Dec 30, 2007 at 10:19:41AM +0100, Michael Niedermayer wrote:
>> On Sun, Dec 30, 2007 at 03:18:11AM +0100, jbr wrote:
>>> Author: jbr
>>> Date: Sun Dec 30 03:18:11 2007
>>> New Revision: 1699
>>>
>>> Log:
>>> correctly use bap or hebap depending on whether aht is used or not
>>>
>> [...]
>>> -                if(bap[i] == 0)
>>> +                if((aht && !bap[i]) && (!aht && !hebap[i]))
>> this is equivalent of if(0), you didnt maybe mean || or?
> 
> also if you meant || then the following is simpler:
> 
> if(aht ? !bap[i] : !hebap[i])

Thanks. fixed.

...I had it backwards too.



More information about the FFmpeg-soc mailing list