diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-13 02:58:57 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-13 02:58:57 +0000 |
commit | 6e9cbdc10448203e7c8b2de41447442fcc9f7bae (patch) | |
tree | 0ed465592509105fdbeab27fc12ddbb2e3590aa5 /stream/stream_udp.c | |
parent | eafe5b7517bbf408ae1ffc936a3abe2313c3b334 (diff) | |
download | mpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.bz2 mpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.xz |
whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_udp.c')
-rw-r--r-- | stream/stream_udp.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/stream/stream_udp.c b/stream/stream_udp.c index c366d8e4a9..5b901cf543 100644 --- a/stream/stream_udp.c +++ b/stream/stream_udp.c @@ -40,10 +40,10 @@ udp_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; @@ -54,7 +54,7 @@ udp_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; } @@ -63,7 +63,7 @@ udp_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_UDP, URL: %s\n", stream->url); stream->streaming_ctrl = streaming_ctrl_new (); if (!stream->streaming_ctrl) @@ -79,7 +79,7 @@ udp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) "You must enter a port number for UDP streams!\n"); streaming_ctrl_free (stream->streaming_ctrl); stream->streaming_ctrl = NULL; - + return STREAM_UNSUPPORTED; } @@ -88,13 +88,13 @@ udp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) mp_msg (MSGT_NETWORK, MSGL_ERR, "udp_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; } |