Fix use of sstep/dstep in ff_iir_filter().
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 19 Jan 2011 20:02:05 +0000 (20:02 +0000)
committerMans Rullgard <mans@mansr.com>
Wed, 19 Jan 2011 20:56:07 +0000 (20:56 +0000)
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/iirfilter.c

index 90af431..65d9f89 100644 (file)
@@ -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;
         }
     }
 }