summaryrefslogtreecommitdiff
path: root/libavcodec/psymodel.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2010-06-28 21:40:38 +0000
committerAlex Converse <alex.converse@gmail.com>2010-06-28 21:40:38 +0000
commit7ca4a72f476270df4464a3a379bc44a68257786f (patch)
tree75f584884ba8a062520791248dd72e5d96896945 /libavcodec/psymodel.c
parent9a3fe1ae6efc3716786823efe1422b6b40e4f76f (diff)
10l: Revert r23867. It didn't make any sense.
Originally committed as revision 23868 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/psymodel.c')
-rw-r--r--libavcodec/psymodel.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/psymodel.c b/libavcodec/psymodel.c
index 88a76f5b6b..f87dbcf277 100644
--- a/libavcodec/psymodel.c
+++ b/libavcodec/psymodel.c
@@ -117,14 +117,11 @@ void ff_psy_preprocess(struct FFPsyPreprocessContext *ctx,
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;
}