glviewconvert: Fix broken validity check

This commit is contained in:
Nicolas Dufresne 2015-06-18 18:02:21 -04:00
parent b77f8e172a
commit 0e1303a294

View file

@ -718,8 +718,8 @@ _expand_par_for_half_aspect (GstCaps * in, gboolean vertical_half_aspect)
features ? gst_caps_features_copy (features) : NULL);
gst_structure_free (s);
if (features);
gst_caps_features_free (features);
if (features)
gst_caps_features_free (features);
}
gst_caps_unref (in);