[FFmpeg-cvslog] Fix use of sstep/dstep in ff_iir_filter().

Justin Ruggles git
Fri Jan 21 20:40:01 CET 2011


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Wed Jan 19 20:02:05 2011 +0000| [f32e646d82e2883962553e3bd660a9deb2a941cd] | committer: Michael Niedermayer

Fix use of sstep/dstep in ff_iir_filter().

Signed-off-by: Mans Rullgard <mans at mansr.com>
(cherry picked from commit c3897d7690fffe016de8ed56fdbdb9d685dbcce2)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f32e646d82e2883962553e3bd660a9deb2a941cd
---

 libavcodec/iirfilter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/iirfilter.c b/libavcodec/iirfilter.c
index 90af431..65d9f89 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;
         }
     }
 }




More information about the ffmpeg-cvslog mailing list