basetransform: Fix 'equality comparison with extraneous parentheses' compiler warning
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 6 Mar 2012 11:23:15 +0000 (12:23 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 6 Mar 2012 11:23:15 +0000 (12:23 +0100)
libs/gst/base/gstbasetransform.c

index dfaa359..e1fbaa9 100644 (file)
@@ -2655,7 +2655,7 @@ gst_base_transform_chain (GstPad * pad, GstBuffer * buffer)
   /* outbuf can be NULL, this means a dropped buffer, if we have a buffer but
    * GST_BASE_TRANSFORM_FLOW_DROPPED we will not push either. */
   if (outbuf != NULL) {
-    if ((ret == GST_FLOW_OK)) {
+    if (ret == GST_FLOW_OK) {
       GstClockTime last_stop_out = GST_CLOCK_TIME_NONE;
 
       /* Remember last stop position */