summaryrefslogtreecommitdiffstats
path: root/lib/rbcodec/codecs/libopus/opus_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/libopus/opus_config.h')
-rw-r--r--lib/rbcodec/codecs/libopus/opus_config.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/rbcodec/codecs/libopus/opus_config.h b/lib/rbcodec/codecs/libopus/opus_config.h
index 86210df52b..922ec607e5 100644
--- a/lib/rbcodec/codecs/libopus/opus_config.h
+++ b/lib/rbcodec/codecs/libopus/opus_config.h
@@ -3,6 +3,7 @@
#include "config.h"
#include "codeclib.h"
+#include "ogg/ogg.h"
/* general stuff */
#define OPUS_BUILD
@@ -14,9 +15,9 @@
#define OVERRIDE_OPUS_FREE
#define OVERRIDE_OPUS_ALLOC_SCRATCH
-#define opus_alloc codec_malloc
-#define opus_free codec_free
-#define opus_alloc_scratch codec_malloc
+#define opus_alloc _ogg_malloc
+#define opus_free _ogg_free
+#define opus_alloc_scratch _ogg_malloc
/* lrint */
#define HAVE_LRINTF 0