[Bug 776345] gst-rtsp-server: segmentation fault when trying to get server port in TCP transport case
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Jan 9 13:54:21 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=776345
--- Comment #11 from Patricia Muscalu <patricia at axis.com> ---
Sorry, but there is actually a "little" mistake in my patch:
diff --git a/gst/rtsp-server/rtsp-stream.c b/gst/rtsp-server/rtsp-stream.c
index 6af69b4..445b924 100644
--- a/gst/rtsp-server/rtsp-stream.c
+++ b/gst/rtsp-server/rtsp-stream.c
@@ -1531,8 +1531,8 @@ gst_rtsp_stream_get_server_port (GstRTSPStream * stream,
}
g_mutex_lock (&priv->lock);
- if (family == G_SOCKET_FAMILY_IPV4 && priv->server_addr_v4) {
- if (server_port) {
+ if (family == G_SOCKET_FAMILY_IPV4) {
+ if (server_port && priv->server_addr_v4) {
server_port->min = priv->server_addr_v4->port;
server_port->max =
priv->server_addr_v4->port + priv->server_addr_v4->n_ports - 1;
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list