diff --git a/ext/openh264/gstopenh264plugin.c b/ext/openh264/gstopenh264plugin.c index 10b0d4f071..d659a488c8 100644 --- a/ext/openh264/gstopenh264plugin.c +++ b/ext/openh264/gstopenh264plugin.c @@ -47,7 +47,7 @@ plugin_init (GstPlugin * plugin) * ABI without changing the SONAME. */ OpenH264Version libver = WelsGetCodecVersion (); - if (memcmp (&libver, &g_stCodecVersion, sizeof (libver))) { + if (memcmp (&libver, &g_stCodecVersion, sizeof (libver)) == 0) { gst_element_register (plugin, "openh264dec", GST_RANK_MARGINAL, GST_TYPE_OPENH264DEC); gst_element_register (plugin, "openh264enc", GST_RANK_MARGINAL,