aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Matthews <tmatth@videolan.org>2016-06-04 16:24:25 +0200
committerTristan Matthews <tmatth@videolan.org>2016-06-04 16:26:00 +0200
commit83b63852e0e4755a8c04a1f9c87dd73b5aa6293f (patch)
tree3c64db78f02afc0c5fafcba60a37939944468016
parent15fba8812107366465460407e83e599a1b138054 (diff)
downloadspeex-83b63852e0e4755a8c04a1f9c87dd73b5aa6293f.tar.gz
resampler: speex_assert is not defined OUTSIDE_SPEEX
Fix regression from commit 4dba09347256131f12c80b443250abae4bbbe042 Reported by Lukáš Lalinský.
-rw-r--r--include/speex/speex_resampler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/speex/speex_resampler.h b/include/speex/speex_resampler.h
index 0841ade..901de37 100644
--- a/include/speex/speex_resampler.h
+++ b/include/speex/speex_resampler.h
@@ -82,6 +82,8 @@
#define spx_uint16_t unsigned short
#define spx_uint32_t unsigned int
+#define speex_assert(cond)
+
#else /* OUTSIDE_SPEEX */
#include "speexdsp_types.h"