From 39d657c27476659c5f38acd93e5ff098bd84805a Mon Sep 17 00:00:00 2001 From: Vineeth TM Date: Mon, 22 Jun 2015 10:58:00 +0900 Subject: tsmux: code style fix trivial patch to add proper ( while checking for if(G_UNLIKELY()) https://bugzilla.gnome.org/show_bug.cgi?id=751305 --- gst/mpegtsmux/tsmux/tsmux.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gst/mpegtsmux/tsmux/tsmux.c b/gst/mpegtsmux/tsmux/tsmux.c index 10ff48abf..293aed943 100644 --- a/gst/mpegtsmux/tsmux/tsmux.c +++ b/gst/mpegtsmux/tsmux/tsmux.c @@ -917,12 +917,11 @@ tsmux_section_write_packet (GstMpegtsSectionType * type, len, section->pi.stream_avail - len); /* Push the packet without PCR */ - if G_UNLIKELY - (!tsmux_packet_out (mux, packet_buffer, -1)) { + if (G_UNLIKELY (!tsmux_packet_out (mux, packet_buffer, -1))) { /* Buffer given away */ packet_buffer = NULL; goto fail; - } + } packet_buffer = NULL; section->pi.stream_avail -= len; -- cgit v1.2.1