Fix use of sstep/dstep in ff_iir_filter().
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit c3897d7690
)
This commit is contained in:
committed by
Michael Niedermayer
parent
024f63709d
commit
f32e646d82
@@ -158,7 +158,7 @@ void ff_iir_filter(const struct FFIIRFilterCoeffs *c, struct FFIIRFilterState *s
|
|||||||
*dst = av_clip_int16(lrintf(res));
|
*dst = av_clip_int16(lrintf(res));
|
||||||
s->x[c->order - 1] = in;
|
s->x[c->order - 1] = in;
|
||||||
src += sstep;
|
src += sstep;
|
||||||
dst += sstep;
|
dst += dstep;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user