gst-rtsptransports: no warning Transport end with semicolumn

This commit is contained in:
Marc Leeman 2012-07-18 13:19:26 +02:00 committed by Wim Taymans
parent d63a4024b8
commit 791163aba2

View file

@ -515,7 +515,9 @@ gst_rtsp_transport_parse (const gchar * str, GstRTSPTransport * transport)
transport->ssrc = strtoul (split[i] + 5, NULL, 16);
} else {
/* unknown field... */
g_warning ("unknown transport field \"%s\"", split[i]);
if (strlen (split[i]) > 0) {
g_warning ("unknown transport field \"%s\"", split[i]);
}
}
i++;
}