[FFmpeg-soc] [PATCH] AMR-WB Decoder

Michael Niedermayer michaelni at gmx.at
Wed Sep 8 23:52:51 CEST 2010


On Mon, Sep 06, 2010 at 09:05:39PM -0300, Marcelo Galvão Póvoa wrote:
[...]
> pitch_lag_int += pitch_lag_frac > 0 ? 1 : 0;

x ? 1:0
assert(x==0 || x==1)
-> the "? 1:0" is redundant

[,,,]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20100908/44a9eb08/attachment.pgp>


More information about the FFmpeg-soc mailing list