projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a182e7
)
tsmux: code style fix
author
Vineeth TM
<vineeth.tm@samsung.com>
Mon, 22 Jun 2015 01:58:00 +0000
(10:58 +0900)
committer
Tim-Philipp Müller
<tim@centricular.com>
Mon, 22 Jun 2015 09:12:45 +0000
(10:12 +0100)
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
patch
|
blob
|
history
diff --git
a/gst/mpegtsmux/tsmux/tsmux.c
b/gst/mpegtsmux/tsmux/tsmux.c
index
10ff48a
..
293aed9
100644
(file)
--- 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;