From: Vineeth TM Date: Mon, 22 Jun 2015 01:58:00 +0000 (+0900) Subject: tsmux: code style fix X-Git-Tag: 1.19.3~507^2~8444 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=39d657c27476659c5f38acd93e5ff098bd84805a;p=platform%2Fupstream%2Fgstreamer.git tsmux: code style fix trivial patch to add proper ( while checking for if(G_UNLIKELY()) https://bugzilla.gnome.org/show_bug.cgi?id=751305 --- diff --git a/gst/mpegtsmux/tsmux/tsmux.c b/gst/mpegtsmux/tsmux/tsmux.c index 10ff48a..293aed9 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;