[FFmpeg-soc] [soc]: r2552 - mlp/mlpdec.c

Ramiro Polla ramiro at lisha.ufsc.br
Sun Jun 22 20:15:10 CEST 2008


ramiro wrote:
> Author: ramiro
> Date: Sun Jun 22 20:02:56 2008
> New Revision: 2552
> 
> Log:
> Copy IIR precision to FIR if only IIR is used, since the filtering code
> always uses the FIR precision.
> 
> Modified:
>    mlp/mlpdec.c
> 
> Modified: mlp/mlpdec.c
> ==============================================================================
> --- mlp/mlpdec.c	(original)
> +++ mlp/mlpdec.c	Sun Jun 22 20:02:56 2008
> @@ -685,6 +685,11 @@ static int read_decoding_params(MLPDecod
>                         "FIR and IIR filters must use same precision\n");
>                  return -1;
>              }
> +            /* Both filters must have the same precision, so the filtering
> +             * code always use the FIR precision. If only IIR is used, we copy
                               ^^^

Oops, typo. Since I'll have to fix this anyways, does anyone have a 
better idea for the comment? I don't like the text the way it is now. 
It's supposed to mean something like "To simplify the filtering code, 
since both precisions are the same, only the FIR precision is used. If 
only IIR filtering is used, copy its values to the FIR filter so it can 
be used by the filtering code."

Ramiro Polla



More information about the FFmpeg-soc mailing list