mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
rtmpsrc: Add some braces to improve readability
This commit is contained in:
parent
d0ce1ff675
commit
370a5049ba
1 changed files with 2 additions and 2 deletions
|
@ -340,9 +340,9 @@ gst_rtmp_src_create (GstPushSrc * pushsrc, GstBuffer ** buffer)
|
|||
while (todo > 0) {
|
||||
read = RTMP_Read (src->rtmp, (char *) data, todo);
|
||||
|
||||
if (G_UNLIKELY (read == 0 && todo == size))
|
||||
if (G_UNLIKELY (read == 0 && todo == size)) {
|
||||
goto eos;
|
||||
else if (G_UNLIKELY (read == 0)) {
|
||||
} else if (G_UNLIKELY (read == 0)) {
|
||||
GST_BUFFER_SIZE (buf) -= todo;
|
||||
todo = 0;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue