summaryrefslogtreecommitdiffstats
path: root/stream/stream_rtp.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:26:13 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:34:35 +0300
commit0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch)
tree71cb9bd9ed121156d3382066c0722c73189afe04 /stream/stream_rtp.c
parent6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff)
downloadmpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2
mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz
Remove trailing whitespace from most files
Diffstat (limited to 'stream/stream_rtp.c')
-rw-r--r--stream/stream_rtp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/stream/stream_rtp.c b/stream/stream_rtp.c
index b48562fbde..b3c91e91f5 100644
--- a/stream/stream_rtp.c
+++ b/stream/stream_rtp.c
@@ -48,10 +48,10 @@ rtp_streaming_start (stream_t *stream)
streaming_ctrl = stream->streaming_ctrl;
fd = stream->fd;
-
+
if (fd < 0)
{
- fd = udp_open_socket (streaming_ctrl->url);
+ fd = udp_open_socket (streaming_ctrl->url);
if (fd < 0)
return -1;
stream->fd = fd;
@@ -62,7 +62,7 @@ rtp_streaming_start (stream_t *stream)
streaming_ctrl->prebuffer_size = 64 * 1024; /* 64 KBytes */
streaming_ctrl->buffering = 0;
streaming_ctrl->status = streaming_playing_e;
-
+
return 0;
}
@@ -71,7 +71,7 @@ rtp_stream_open (stream_t *stream, int mode, void *opts, int *file_format)
{
URL_t *url;
extern int network_bandwidth;
-
+
mp_msg (MSGT_OPEN, MSGL_INFO, "STREAM_RTP, URL: %s\n", stream->url);
stream->streaming_ctrl = streaming_ctrl_new ();
if (!stream->streaming_ctrl)
@@ -87,7 +87,7 @@ rtp_stream_open (stream_t *stream, int mode, void *opts, int *file_format)
"You must enter a port number for RTP streams!\n");
streaming_ctrl_free (stream->streaming_ctrl);
stream->streaming_ctrl = NULL;
-
+
return STREAM_UNSUPPORTED;
}
@@ -96,13 +96,13 @@ rtp_stream_open (stream_t *stream, int mode, void *opts, int *file_format)
mp_msg (MSGT_NETWORK, MSGL_ERR, "rtp_streaming_start failed\n");
streaming_ctrl_free (stream->streaming_ctrl);
stream->streaming_ctrl = NULL;
-
+
return STREAM_UNSUPPORTED;
}
stream->type = STREAMTYPE_STREAM;
fixup_network_stream_cache (stream);
-
+
return STREAM_OK;
}