Revision d42dc217 libavcodec/psymodel.c
libavcodec/psymodel.c | ||
---|---|---|
88 | 88 |
cutoff_coeff = 2.0 * avctx->cutoff / avctx->sample_rate; |
89 | 89 |
|
90 | 90 |
if (cutoff_coeff) |
91 |
ctx->fcoeffs = ff_iir_filter_init_coeffs(FF_FILTER_TYPE_BUTTERWORTH, FF_FILTER_MODE_LOWPASS, |
|
91 |
ctx->fcoeffs = ff_iir_filter_init_coeffs(avctx, FF_FILTER_TYPE_BUTTERWORTH, FF_FILTER_MODE_LOWPASS,
|
|
92 | 92 |
FILT_ORDER, cutoff_coeff, 0.0, 0.0); |
93 | 93 |
if (ctx->fcoeffs) { |
94 | 94 |
ctx->fstate = av_mallocz(sizeof(ctx->fstate[0]) * avctx->channels); |
Also available in: Unified diff