From 1f35c93f0abc8f699f72c9e49b44e7f550aee155 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 23 Oct 2008 12:23:27 +0200 Subject: [PATCH] Initialize some more vars. --- src/rtsp-session.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rtsp-session.c b/src/rtsp-session.c index a7cf3ee1f6..05ca1f3ede 100644 --- a/src/rtsp-session.c +++ b/src/rtsp-session.c @@ -164,6 +164,8 @@ gst_rtsp_session_get_stream (GstRTSPSessionMedia *media, guint idx) GstRTSPSessionStream *result; GList *walk; + result = NULL; + for (walk = media->streams; walk; walk = g_list_next (walk)) { result = (GstRTSPSessionStream *) walk->data;