diff --git a/gst/gstregistrybinary.c b/gst/gstregistrybinary.c index eb277c5cf7..690d6c4353 100644 --- a/gst/gstregistrybinary.c +++ b/gst/gstregistrybinary.c @@ -611,7 +611,7 @@ Error: g_timer_destroy (timer); #endif if (mapped) { -#if GLIB_CHECK_VERSION(2,22,0) +#if GLIB_CHECK_VERSION(2,21,3) g_mapped_file_unref (mapped); #else g_mapped_file_free (mapped);