From: Sebastian Dröge Date: Sun, 6 Jun 2010 13:32:39 +0000 (+0200) Subject: rtmpsrc: Add some braces to improve readability X-Git-Tag: 1.19.3~507^2~16913 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=370a5049ba8b57023f0f40da1d8a801aa60735b1;p=platform%2Fupstream%2Fgstreamer.git rtmpsrc: Add some braces to improve readability --- diff --git a/ext/rtmp/gstrtmpsrc.c b/ext/rtmp/gstrtmpsrc.c index 91ce4e3..2a3f369 100644 --- a/ext/rtmp/gstrtmpsrc.c +++ b/ext/rtmp/gstrtmpsrc.c @@ -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;