rtspsrc: fix missing null-terminator in protocols array

Fixes random crash regression from commit ae84ae.
This commit is contained in:
René Stadler 2010-09-28 16:21:48 +03:00
parent ef29a59903
commit 0cfe24d132

View file

@ -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;
}