summaryrefslogtreecommitdiffstats
path: root/gst/udp/gstudpsrc.c
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-12-06 19:44:58 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-12-06 19:44:58 +0000
commit3ecf433432289b9c1990165f65bdd51aaad2eaa7 (patch)
treedc7bd5c5b4eb37d49b1a37ca1f33c9d9ed2a8374 /gst/udp/gstudpsrc.c
parentf2085bd7ef2a4e685b8a58ae0848c43aab0d8747 (diff)
expand tabs
Original commit message from CVS: expand tabs
Diffstat (limited to 'gst/udp/gstudpsrc.c')
-rw-r--r--gst/udp/gstudpsrc.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c
index 5f3835bd..35e1a572 100644
--- a/gst/udp/gstudpsrc.c
+++ b/gst/udp/gstudpsrc.c
@@ -42,14 +42,14 @@ GST_DEBUG_CATEGORY (udpsrc_debug);
#define WRITE_SOCKET(src) src->control_sock[1]
#define READ_SOCKET(src) src->control_sock[0]
-#define SEND_COMMAND(src, command) \
-G_STMT_START { \
- unsigned char c; c = command; \
- write (WRITE_SOCKET(src), &c, 1); \
+#define SEND_COMMAND(src, command) \
+G_STMT_START { \
+ unsigned char c; c = command; \
+ write (WRITE_SOCKET(src), &c, 1); \
} G_STMT_END
-#define READ_COMMAND(src, command, res) \
-G_STMT_START { \
+#define READ_COMMAND(src, command, res) \
+G_STMT_START { \
res = read(READ_SOCKET(src), &command, 1); \
} G_STMT_END
@@ -64,10 +64,10 @@ GST_ELEMENT_DETAILS ("UDP packet receiver",
"Receive data over the network via UDP",
"Wim Taymans <wim@fluendo.com>");
-#define UDP_DEFAULT_PORT 4951
-#define UDP_DEFAULT_MULTICAST_GROUP "0.0.0.0"
-#define UDP_DEFAULT_URI "udp://0.0.0.0:4951"
-#define UDP_DEFAULT_CAPS NULL
+#define UDP_DEFAULT_PORT 4951
+#define UDP_DEFAULT_MULTICAST_GROUP "0.0.0.0"
+#define UDP_DEFAULT_URI "udp://0.0.0.0:4951"
+#define UDP_DEFAULT_CAPS NULL
enum
{