From 9766161f104bac8c9fb88ba7dc8e9cc0bc6d73ae Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Tue, 13 Nov 2018 12:29:19 +0100 Subject: [PATCH] Added missing define guards. --- libfreerdp/codec/dsp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libfreerdp/codec/dsp.c b/libfreerdp/codec/dsp.c index 7d896ef00..4e83791d7 100644 --- a/libfreerdp/codec/dsp.c +++ b/libfreerdp/codec/dsp.c @@ -121,8 +121,10 @@ static BOOL freerdp_dsp_resample(FREERDP_DSP_CONTEXT* context, const AUDIO_FORMAT* srcFormat, const BYTE** data, size_t* length) { +#if defined(WITH_SOXR) soxr_error_t error; size_t idone, odone; +#endif size_t sframes, rframes; size_t rsize; size_t j;