summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst-libs/gst/gl/gstglviewconvert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/gl/gstglviewconvert.c b/gst-libs/gst/gl/gstglviewconvert.c
index 9890175ed..76ecabbf0 100644
--- a/gst-libs/gst/gl/gstglviewconvert.c
+++ b/gst-libs/gst/gl/gstglviewconvert.c
@@ -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);