mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
tsmux: code style fix
trivial patch to add proper ( while checking for if(G_UNLIKELY()) https://bugzilla.gnome.org/show_bug.cgi?id=751305
This commit is contained in:
parent
1a182e7a41
commit
39d657c274
1 changed files with 2 additions and 3 deletions
|
@ -917,12 +917,11 @@ tsmux_section_write_packet (GstMpegtsSectionType * type,
|
||||||
len, section->pi.stream_avail - len);
|
len, section->pi.stream_avail - len);
|
||||||
|
|
||||||
/* Push the packet without PCR */
|
/* Push the packet without PCR */
|
||||||
if G_UNLIKELY
|
if (G_UNLIKELY (!tsmux_packet_out (mux, packet_buffer, -1))) {
|
||||||
(!tsmux_packet_out (mux, packet_buffer, -1)) {
|
|
||||||
/* Buffer given away */
|
/* Buffer given away */
|
||||||
packet_buffer = NULL;
|
packet_buffer = NULL;
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
packet_buffer = NULL;
|
packet_buffer = NULL;
|
||||||
section->pi.stream_avail -= len;
|
section->pi.stream_avail -= len;
|
||||||
|
|
Loading…
Reference in a new issue