From 7034e3bac47ec1dc778443862142ca46d8235f0b Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Mon, 13 Jul 2009 10:45:38 -0700 Subject: [PATCH] Apply sox 14.3 compatibility patch from Fathi Boudra. Signed-off-by: Dan Dennedy --- src/modules/sox/filter_sox.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/sox/filter_sox.c b/src/modules/sox/filter_sox.c index 66cc54d3..d2ef2d24 100644 --- a/src/modules/sox/filter_sox.c +++ b/src/modules/sox/filter_sox.c @@ -181,6 +181,9 @@ static int create_effect( mlt_filter this, char *value, int count, int channel, static int filter_get_audio( mlt_frame frame, int16_t **buffer, mlt_audio_format *format, int *frequency, int *channels, int *samples ) { +#if (ST_LIB_VERSION_CODE >= ST_LIB_VERSION(14,3,0)) + SOX_SAMPLE_LOCALS; +#endif // Get the properties of the frame mlt_properties properties = MLT_FRAME_PROPERTIES( frame ); -- 2.39.2