From 0cfe24d132c4a4f0d3ab0b8386497b92d5ba3728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stadler?= Date: Tue, 28 Sep 2010 16:21:48 +0300 Subject: [PATCH] rtspsrc: fix missing null-terminator in protocols array Fixes random crash regression from commit ae84ae. --- gst/rtsp/gstrtspsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 4e1777bdc0..52ec272c61 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -6167,7 +6167,7 @@ static gchar ** gst_rtspsrc_uri_get_protocols (void) { static const gchar *protocols[] = - { "rtsp", "rtspu", "rtspt", "rtsph", "rtsp-sdp" }; + { "rtsp", "rtspu", "rtspt", "rtsph", "rtsp-sdp", NULL }; return (gchar **) protocols; }