summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2015-06-22 10:58:00 +0900
committerTim-Philipp Müller <tim@centricular.com>2015-06-22 10:12:45 +0100
commit39d657c27476659c5f38acd93e5ff098bd84805a (patch)
tree9b1a74a7650d1b76d55b735f4c5ccc888f239043
parent1a182e7a414c36e29d27f49a1cd50e5811b8e272 (diff)
tsmux: code style fix
trivial patch to add proper ( while checking for if(G_UNLIKELY()) https://bugzilla.gnome.org/show_bug.cgi?id=751305
-rw-r--r--gst/mpegtsmux/tsmux/tsmux.c5
1 files 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;