[FFmpeg-devel] [PATCH 1/3] Fix use of sstep/dstep in ff_iir_filter().

Måns Rullgård mans
Wed Jan 19 21:56:29 CET 2011


Justin Ruggles <justin.ruggles at gmail.com> writes:

> ---
>  libavcodec/iirfilter.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
>
> diff --git a/libavcodec/iirfilter.c b/libavcodec/iirfilter.c
> index 90af431..65d9f89 100644
> --- a/libavcodec/iirfilter.c
> +++ b/libavcodec/iirfilter.c
> @@ -158,7 +158,7 @@ void ff_iir_filter(const struct FFIIRFilterCoeffs *c, struct FFIIRFilterState *s
>              *dst = av_clip_int16(lrintf(res));
>              s->x[c->order - 1] = in;
>              src += sstep;
> -            dst += sstep;
> +            dst += dstep;
>          }
>      }
>  }

Obviously correct.  Queued.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list