mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
rtspsrc: Remove dead variable. 'stream' is never read after.
This commit is contained in:
parent
971fbb246b
commit
08a090c89c
1 changed files with 1 additions and 2 deletions
|
@ -4397,7 +4397,6 @@ gst_rtspsrc_open (GstRTSPSrc * src)
|
|||
guint size;
|
||||
gint i, n_streams;
|
||||
GstSDPMessage sdp = { 0 };
|
||||
GstRTSPStream *stream = NULL;
|
||||
gchar *respcont = NULL;
|
||||
GstRTSPUrl *url;
|
||||
|
||||
|
@ -4538,7 +4537,7 @@ restart:
|
|||
/* create streams */
|
||||
n_streams = gst_sdp_message_medias_len (&sdp);
|
||||
for (i = 0; i < n_streams; i++) {
|
||||
stream = gst_rtspsrc_create_stream (src, &sdp, i);
|
||||
gst_rtspsrc_create_stream (src, &sdp, i);
|
||||
}
|
||||
|
||||
src->state = GST_RTSP_STATE_INIT;
|
||||
|
|
Loading…
Reference in a new issue