rtmpsrc: Add some braces to improve readability
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 6 Jun 2010 13:32:39 +0000 (15:32 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 6 Jun 2010 13:32:39 +0000 (15:32 +0200)
ext/rtmp/gstrtmpsrc.c

index 91ce4e3..2a3f369 100644 (file)
@@ -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;