[FFmpeg-soc] [soc]: r4990 - amr/amrnbdec.c

Colin McQuillan m.niloc at googlemail.com
Sat Aug 8 23:40:28 CEST 2009


2009/8/8 Robert Swain <robert.swain at gmail.com>:
> 2009/8/8 cmcq <subversion at mplayerhq.hu>:
>> Author: cmcq
>> Date: Sat Aug  8 22:40:24 2009
>> New Revision: 4990
>>
>> Log:
>> Replace ?: expressions with something easier to format
>
> As far as I recall, and maybe I'm wrong, ternary expressions are
> faster to evaluate than 'if () {} else {}'. Also, for simple
> assignments, as in those cases changed in this commit, I prefer the
> ternary when reading.

These lines were called weird in the review thread but it might just
be the formatting.


More information about the FFmpeg-soc mailing list