Mercurial > mplayer.hg
diff stream/stream_udp.c @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
author | diego |
---|---|
date | Wed, 13 May 2009 02:58:57 +0000 |
parents | a26e50cae389 |
children | 9494acd724a9 |
line wrap: on
line diff
--- a/stream/stream_udp.c Tue May 12 19:25:35 2009 +0000 +++ b/stream/stream_udp.c Wed May 13 02:58:57 2009 +0000 @@ -40,10 +40,10 @@ 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 @@ streaming_ctrl->prebuffer_size = 64 * 1024; /* 64 KBytes */ streaming_ctrl->buffering = 0; streaming_ctrl->status = streaming_playing_e; - + return 0; } @@ -63,7 +63,7 @@ { 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 @@ "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 @@ 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; }