summaryrefslogtreecommitdiffstats
path: root/stream/stream_rtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_rtp.c')
-rw-r--r--stream/stream_rtp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/stream_rtp.c b/stream/stream_rtp.c
index cf1635bf6a..214ebf2257 100644
--- a/stream/stream_rtp.c
+++ b/stream/stream_rtp.c
@@ -24,6 +24,7 @@
#include "stream.h"
#include "url.h"
+#include "udp.h"
#include "rtp.h"
static int
@@ -47,7 +48,7 @@ rtp_streaming_start (stream_t *stream)
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;