10l: Revert r23867. It didn't make any sense.
Originally committed as revision 23868 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9a3fe1ae6e
commit
7ca4a72f47
@ -117,14 +117,11 @@ void ff_psy_preprocess(struct FFPsyPreprocessContext *ctx,
|
|||||||
|
|
||||||
av_cold void ff_psy_preprocess_end(struct FFPsyPreprocessContext *ctx)
|
av_cold void ff_psy_preprocess_end(struct FFPsyPreprocessContext *ctx)
|
||||||
{
|
{
|
||||||
if (ctx) {
|
|
||||||
int i;
|
int i;
|
||||||
ff_iir_filter_free_coeffs(ctx->fcoeffs);
|
ff_iir_filter_free_coeffs(ctx->fcoeffs);
|
||||||
if (ctx->fstate)
|
if (ctx->fstate)
|
||||||
for (i = 0; i < ctx->avctx->channels; i++)
|
for (i = 0; i < ctx->avctx->channels; i++)
|
||||||
ff_iir_filter_free_state(ctx->fstate[i]);
|
ff_iir_filter_free_state(ctx->fstate[i]);
|
||||||
av_freep(&ctx->fstate);
|
av_freep(&ctx->fstate);
|
||||||
}
|
|
||||||
ctx = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user