Mercurial > mplayer.hg
diff stream/stream_rtp.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_rtp.c Tue May 12 19:25:35 2009 +0000 +++ b/stream/stream_rtp.c Wed May 13 02:58:57 2009 +0000 @@ -48,10 +48,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; @@ -62,7 +62,7 @@ streaming_ctrl->prebuffer_size = 64 * 1024; /* 64 KBytes */ streaming_ctrl->buffering = 0; streaming_ctrl->status = streaming_playing_e; - + return 0; } @@ -71,7 +71,7 @@ { 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 @@ "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 @@ 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; }