summaryrefslogtreecommitdiff
path: root/ext/openmpt
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2017-05-24 11:47:47 +0300
committerSebastian Dröge <sebastian@centricular.com>2017-05-24 11:47:47 +0300
commit64ccac4bfbfea5176b9ad703be8e569d683f7a32 (patch)
tree5bc5d7459fd7fcf9efec22b08901ad1678a8c9fe /ext/openmpt
parentec27bb09dc34d78aebf6020e6f16b425de8c888d (diff)
downloadgstreamer-plugins-bad-64ccac4bfbfea5176b9ad703be8e569d683f7a32.tar.gz
openmpt: Fix compilation with 0.2.7386 as in Debian
The OPENMPT_API_VERSION_AT_LEAST macro does not exist.
Diffstat (limited to 'ext/openmpt')
-rw-r--r--ext/openmpt/gstopenmptdec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/openmpt/gstopenmptdec.c b/ext/openmpt/gstopenmptdec.c
index c4830f6f2..4c0bba1aa 100644
--- a/ext/openmpt/gstopenmptdec.c
+++ b/ext/openmpt/gstopenmptdec.c
@@ -43,6 +43,9 @@
#include "gstopenmptdec.h"
+#ifndef OPENMPT_API_VERSION_AT_LEAST
+#define OPENMPT_API_VERSION_AT_LEAST(x, y, z) (FALSE)
+#endif
GST_DEBUG_CATEGORY_STATIC (openmptdec_debug);
#define GST_CAT_DEFAULT openmptdec_debug