diff stream/stream_rtp.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_rtp.c	Fri Aug 04 18:46:32 2006 +0000
+++ b/stream/stream_rtp.c	Fri Aug 04 19:31:53 2006 +0000
@@ -24,6 +24,7 @@
 
 #include "stream.h"
 #include "url.h"
+#include "udp.h"
 #include "rtp.h"
 
 static int
@@ -47,7 +48,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;