udp: properly match braces and cpp directives
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Wed, 12 Sep 2012 14:39:08 +0000 (16:39 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Wed, 12 Sep 2012 14:39:08 +0000 (16:39 +0200)
Fixes compilation where IPV6_TCLASS not defined.

gst/udp/gstmultiudpsink.c

index 195d2ca..6cb8928 100644 (file)
@@ -638,8 +638,8 @@ gst_multiudpsink_setup_qos_dscp (GstMultiUDPSink * sink)
     if (setsockopt (fd, IPPROTO_IPV6, IPV6_TCLASS, &tos, sizeof (tos)) < 0) {
       GST_ERROR_OBJECT (sink, "could not set TCLASS: %s", g_strerror (errno));
     }
-  }
 #endif
+  }
 #endif
 }