Commit f2b08f6a authored by Pierre Ynard's avatar Pierre Ynard

rtsp: clean up useless stuff

parent 6b872c5c
...@@ -248,7 +248,6 @@ rtsp_stream_id_t *RtspAddId( rtsp_stream_t *rtsp, sout_stream_id_t *sid, ...@@ -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->track_id = rtsp->track_id;
id->ssrc = ssrc; id->ssrc = ssrc;
id->clock_rate = clock_rate; id->clock_rate = clock_rate;
/* TODO: can we assume that this need not be strdup'd? */
id->dst = dst; id->dst = dst;
if( id->dst != NULL ) if( id->dst != NULL )
{ {
...@@ -459,11 +458,6 @@ int RtspTrackAttach( rtsp_stream_t *rtsp, const char *name, ...@@ -459,11 +458,6 @@ int RtspTrackAttach( rtsp_stream_t *rtsp, const char *name,
if (rtp_fd == -1) if (rtp_fd == -1)
break; 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; uint16_t seq;
*ssrc = ntohl(tr->ssrc); *ssrc = ntohl(tr->ssrc);
*seq_init = tr->seq_init; *seq_init = tr->seq_init;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment