[vlc-commits] commit: rtsp: clean up useless stuff (Pierre Ynard )

git at videolan.org git at videolan.org
Sun Dec 12 10:36:53 CET 2010


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sun Dec 12 10:36:22 2010 +0100| [f2b08f6ad6a71fc9c8be2fa8ce179888adbf485b] | committer: Pierre Ynard 

rtsp: clean up useless stuff

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f2b08f6ad6a71fc9c8be2fa8ce179888adbf485b
---

 modules/stream_out/rtsp.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/modules/stream_out/rtsp.c b/modules/stream_out/rtsp.c
index b8a5389..278da6e 100644
--- a/modules/stream_out/rtsp.c
+++ b/modules/stream_out/rtsp.c
@@ -248,7 +248,6 @@ rtsp_stream_id_t *RtspAddId( rtsp_stream_t *rtsp, sout_stream_id_t *sid,
     id->track_id = rtsp->track_id;
     id->ssrc = ssrc;
     id->clock_rate = clock_rate;
-    /* TODO: can we assume that this need not be strdup'd? */
     id->dst = dst;
     if( id->dst != NULL )
     {
@@ -459,11 +458,6 @@ int RtspTrackAttach( rtsp_stream_t *rtsp, const char *name,
             if (rtp_fd == -1)
                 break;
 
-            /* Ignore any unexpected incoming packet */
-            /* XXX: is this needed again? */
-            setsockopt (rtp_fd, SOL_SOCKET, SO_RCVBUF, &(int){ 0 },
-                        sizeof (int));
-
             uint16_t seq;
             *ssrc = ntohl(tr->ssrc);
             *seq_init = tr->seq_init;



More information about the vlc-commits mailing list