Fix use of sstep/dstep in ff_iir_filter().

Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
Justin Ruggles 2011-01-19 20:02:05 +00:00 committed by Mans Rullgard
parent a4f5af13fb
commit c3897d7690

View 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;
}
}
}