changeset 11996:e0dae84d60ae libavcodec

10l: Revert r23867. It didn't make any sense.
author alexc
date Mon, 28 Jun 2010 21:40:38 +0000
parents 0d0446295060
children 081702713f47
files psymodel.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/psymodel.c	Mon Jun 28 21:36:19 2010 +0000
+++ b/psymodel.c	Mon Jun 28 21:40:38 2010 +0000
@@ -117,14 +117,11 @@
 
 av_cold void ff_psy_preprocess_end(struct FFPsyPreprocessContext *ctx)
 {
-    if (ctx) {
     int i;
     ff_iir_filter_free_coeffs(ctx->fcoeffs);
     if (ctx->fstate)
         for (i = 0; i < ctx->avctx->channels; i++)
             ff_iir_filter_free_state(ctx->fstate[i]);
     av_freep(&ctx->fstate);
-    }
-    ctx = NULL;
 }