[FFmpeg-soc] G.723.1 Encoder: Compute adaptive codebook contribution, obtain residual

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Aug 21 14:32:07 CEST 2010


On Sat, Aug 21, 2010 at 08:29:12AM -0400, Ronald S. Bultje wrote:
> >> +        if (pitch_lag == PITCH_MIN)
> >> +            pitch_lag++;
> >> +        else
> >> +            pitch_lag = FFMIN(pitch_lag, PITCH_MAX - 5);

Btw. Michael lately request this kind of thing to be written
as
if () {
    ...
} else
    ...

I.e. using {} where it does not use up extra code lines.


More information about the FFmpeg-soc mailing list