summaryrefslogtreecommitdiffstats
path: root/gst/rtsp
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-18 18:40:48 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-18 18:51:29 +0200
commit08a090c89c2b4ef6007ab505287911058303934c (patch)
tree89ff59c6871611943060e5f95ef8f27c81ac30ec /gst/rtsp
parent971fbb246b424be85dab057a1e60f255a4065a9d (diff)
rtspsrc: Remove dead variable. 'stream' is never read after.
Diffstat (limited to 'gst/rtsp')
-rw-r--r--gst/rtsp/gstrtspsrc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index 185f363b..85150c93 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -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;