[FFmpeg-cvslog] iir: Change dst param to float* in ff_iir_filter_flt().

Justin Ruggles git
Sun Jan 23 21:01:54 CET 2011


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Fri Jan 21 21:59:19 2011 +0000| [17d4f4558e84da9984f4fafd033e5c46314844f6] | committer: Michael Niedermayer

iir: Change dst param to float* in ff_iir_filter_flt().

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

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

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

diff --git a/libavcodec/iirfilter.c b/libavcodec/iirfilter.c
index 6133a54..832559c 100644
--- a/libavcodec/iirfilter.c
+++ b/libavcodec/iirfilter.c
@@ -269,7 +269,7 @@ void ff_iir_filter(const struct FFIIRFilterCoeffs *c,
 
 void ff_iir_filter_flt(const struct FFIIRFilterCoeffs *c,
                        struct FFIIRFilterState *s, int size,
-                       const float *src, int sstep, void *dst, int dstep)
+                       const float *src, int sstep, float *dst, int dstep)
 {
     if (c->order == 4) {
         FILTER_BW_O4(float, FLT)
diff --git a/libavcodec/iirfilter.h b/libavcodec/iirfilter.h
index c2484e2..b29e035 100644
--- a/libavcodec/iirfilter.h
+++ b/libavcodec/iirfilter.h
@@ -117,6 +117,6 @@ void ff_iir_filter(const struct FFIIRFilterCoeffs *coeffs, struct FFIIRFilterSta
  */
 void ff_iir_filter_flt(const struct FFIIRFilterCoeffs *coeffs,
                        struct FFIIRFilterState *state, int size,
-                       const float *src, int sstep, void *dst, int dstep);
+                       const float *src, int sstep, float *dst, int dstep);
 
 #endif /* AVCODEC_IIRFILTER_H */




More information about the ffmpeg-cvslog mailing list