From c3897d7690fffe016de8ed56fdbdb9d685dbcce2 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Wed, 19 Jan 2011 20:02:05 +0000 Subject: Fix use of sstep/dstep in ff_iir_filter(). Signed-off-by: Mans Rullgard --- libavcodec/iirfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/iirfilter.c') diff --git a/libavcodec/iirfilter.c b/libavcodec/iirfilter.c index 90af43190e..65d9f89386 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; } } } -- cgit v1.2.3