Initialize some more vars.
authorWim Taymans <wim@metal.(none)>
Thu, 23 Oct 2008 10:23:27 +0000 (12:23 +0200)
committerWim Taymans <wim@metal.(none)>
Thu, 23 Oct 2008 10:23:27 +0000 (12:23 +0200)
src/rtsp-session.c

index a7cf3ee..05ca1f3 100644 (file)
@@ -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;