[FFmpeg-devel] [PATCH 1/2] 10l: Change dst param to float* in ff_iir_filter_flt().
Måns Rullgård
mans
Fri Jan 21 23:23:32 CET 2011
Justin Ruggles <justin.ruggles at gmail.com> writes:
> ---
> 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 */
OK
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list