diff stream/stream_udp.c @ 19318:a3ddd3320b47

removed udp socket creation code from rtp stack to a new dedicated udp helper file
author ben
date Fri, 04 Aug 2006 19:31:53 +0000
parents 0792ad01e9bf
children d261f5109660
line wrap: on
line diff
--- a/stream/stream_udp.c	Fri Aug 04 18:46:32 2006 +0000
+++ b/stream/stream_udp.c	Fri Aug 04 19:31:53 2006 +0000
@@ -24,7 +24,7 @@
 
 #include "stream.h"
 #include "url.h"
-#include "rtp.h"
+#include "udp.h"
 
 static int
 udp_streaming_start (stream_t *stream)
@@ -40,7 +40,7 @@
 	
   if (fd < 0)
   {
-    fd = rtp_open_socket (streaming_ctrl->url); 
+    fd = udp_open_socket (streaming_ctrl->url); 
     if (fd < 0)
       return -1;
     stream->fd = fd;