aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/iirfilter.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-01-19 20:02:05 +0000
committerMans Rullgard <mans@mansr.com>2011-01-19 20:56:07 +0000
commitc3897d7690fffe016de8ed56fdbdb9d685dbcce2 (patch)
tree00f81ef6bb146ccffe6b752af83d75a23e622c95 /libavcodec/iirfilter.c
parenta4f5af13fb00d7f55946470bb0f52e1dbf5f3c6a (diff)
downloadffmpeg-c3897d7690fffe016de8ed56fdbdb9d685dbcce2.tar.gz
Fix use of sstep/dstep in ff_iir_filter().
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/iirfilter.c')
-rw-r--r--libavcodec/iirfilter.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}
}