diff --git a/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcice.c b/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcice.c index 04adc8f1f2..6aa632f3f3 100644 --- a/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcice.c +++ b/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcice.c @@ -27,14 +27,12 @@ #include "icestream.h" #include "nicetransport.h" -#ifndef NICE_CHECH_VERSION -#define NICE_CHECK_VERSION(major, minor, micro) \ +#ifndef NICE_CHECK_VERSION +#define NICE_CHECK_VERSION(major,minor,micro) \ (NICE_VERSION_MAJOR > (major) || \ (NICE_VERSION_MAJOR == (major) && NICE_VERSION_MINOR > (minor)) || \ (NICE_VERSION_MAJOR == (major) && NICE_VERSION_MINOR == (minor) && \ - NICE_VERSION_MICRO >= (micro)) || \ - (NICE_VERSION_MAJOR == (major) && NICE_VERSION_MINOR == (minor) && \ - NICE_VERSION_MICRO + 1 == (micro) && NICE_VERSION_NANO > 0)) + NICE_VERSION_MICRO >= (micro))) #endif /* XXX: