summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2015-06-18 18:02:21 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2015-06-18 18:02:21 -0400
commit0e1303a2943c905d3ae6f9eaeaee2c466e3ec563 (patch)
tree2d1ac198ae7ec54f09efd2a4437894737fda70c5
parentb77f8e172a3f0be6be5cb4a72e654253404e694f (diff)
glviewconvert: Fix broken validity check
-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);