aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-01-19 20:02:05 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-01-21 20:35:45 +0100
commitf32e646d82e2883962553e3bd660a9deb2a941cd (patch)
tree3171edec46069f0fca07dbc82ad191fd0268e13b /libavcodec
parent024f63709d8c42db3c3b4e6068768b7a99fc5025 (diff)
downloadffmpeg-f32e646d82e2883962553e3bd660a9deb2a941cd.tar.gz
Fix use of sstep/dstep in ff_iir_filter().
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit c3897d7690fffe016de8ed56fdbdb9d685dbcce2)
Diffstat (limited to 'libavcodec')
-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;
}
}
}