diff options
-rw-r--r-- | libavcodec/iirfilter.c | 6 | ||||
-rw-r--r-- | libavcodec/iirfilter.h | 6 | ||||
-rw-r--r-- | libavcodec/psymodel.c | 5 |
3 files changed, 9 insertions, 8 deletions
diff --git a/libavcodec/iirfilter.c b/libavcodec/iirfilter.c index afa299f64f..38c0808b90 100644 --- a/libavcodec/iirfilter.c +++ b/libavcodec/iirfilter.c @@ -49,9 +49,9 @@ typedef struct FFIIRFilterState{ av_cold struct FFIIRFilterCoeffs* ff_iir_filter_init_coeffs(void *avc, enum IIRFilterType filt_type, - enum IIRFilterMode filt_mode, - int order, float cutoff_ratio, - float stopband, float ripple) + enum IIRFilterMode filt_mode, + int order, float cutoff_ratio, + float stopband, float ripple) { int i, j; FFIIRFilterCoeffs *c; diff --git a/libavcodec/iirfilter.h b/libavcodec/iirfilter.h index f7b71f3567..13e1598e39 100644 --- a/libavcodec/iirfilter.h +++ b/libavcodec/iirfilter.h @@ -62,9 +62,9 @@ enum IIRFilterMode{ */ struct FFIIRFilterCoeffs* ff_iir_filter_init_coeffs(void *avc, enum IIRFilterType filt_type, - enum IIRFilterMode filt_mode, - int order, float cutoff_ratio, - float stopband, float ripple); + enum IIRFilterMode filt_mode, + int order, float cutoff_ratio, + float stopband, float ripple); /** * Create new filter state. diff --git a/libavcodec/psymodel.c b/libavcodec/psymodel.c index fb869e7d44..8bd5b8bdd8 100644 --- a/libavcodec/psymodel.c +++ b/libavcodec/psymodel.c @@ -88,8 +88,9 @@ av_cold struct FFPsyPreprocessContext* ff_psy_preprocess_init(AVCodecContext *av cutoff_coeff = 2.0 * avctx->cutoff / avctx->sample_rate; if (cutoff_coeff) - ctx->fcoeffs = ff_iir_filter_init_coeffs(avctx, FF_FILTER_TYPE_BUTTERWORTH, FF_FILTER_MODE_LOWPASS, - FILT_ORDER, cutoff_coeff, 0.0, 0.0); + ctx->fcoeffs = ff_iir_filter_init_coeffs(avctx, FF_FILTER_TYPE_BUTTERWORTH, + FF_FILTER_MODE_LOWPASS, FILT_ORDER, + cutoff_coeff, 0.0, 0.0); if (ctx->fcoeffs) { ctx->fstate = av_mallocz(sizeof(ctx->fstate[0]) * avctx->channels); for (i = 0; i < avctx->channels; i++) |