From ee550b8c693729b1a6cb216de578446785612777 Mon Sep 17 00:00:00 2001 From: ddennedy Date: Fri, 24 Oct 2008 02:20:04 +0000 Subject: [PATCH] filter_sox.c: bugfix recent build regression on older versions of sox git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1197 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/modules/sox/filter_sox.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/sox/filter_sox.c b/src/modules/sox/filter_sox.c index 9bb9166a..561fa657 100644 --- a/src/modules/sox/filter_sox.c +++ b/src/modules/sox/filter_sox.c @@ -75,12 +75,14 @@ static inline double mean( double *buf, int count ) return mean; } +#if (ST_LIB_VERSION_CODE >= ST_LIB_VERSION(14,1,0)) static void delete_effect( eff_t effp ) { free( effp->priv ); free( (void*)effp->in_encoding ); free( effp ); } +#endif /** Create an effect state instance for a channels */ -- 2.39.2