mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
fix compiler warnings
This commit is contained in:
parent
dc3beab0ab
commit
d7695bb67d
1 changed files with 2 additions and 2 deletions
|
@ -503,7 +503,7 @@ receive_error:
|
||||||
return GST_FLOW_FLUSHING;
|
return GST_FLOW_FLUSHING;
|
||||||
} else {
|
} else {
|
||||||
GST_ELEMENT_ERROR (udpsrc, RESOURCE, READ, (NULL),
|
GST_ELEMENT_ERROR (udpsrc, RESOURCE, READ, (NULL),
|
||||||
("receive error %d: %s", ret, err->message));
|
("receive error %" G_GSSIZE_FORMAT ": %s", ret, err->message));
|
||||||
g_clear_error (&err);
|
g_clear_error (&err);
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
|
@ -525,7 +525,7 @@ gst_udpsrc_set_uri (GstUDPSrc * src, const gchar * uri, GError ** error)
|
||||||
if (!gst_udp_parse_uri (uri, &host, &port))
|
if (!gst_udp_parse_uri (uri, &host, &port))
|
||||||
goto wrong_uri;
|
goto wrong_uri;
|
||||||
|
|
||||||
if (port == -1)
|
if (port == (guint16) -1)
|
||||||
port = UDP_DEFAULT_PORT;
|
port = UDP_DEFAULT_PORT;
|
||||||
|
|
||||||
g_free (src->host);
|
g_free (src->host);
|
||||||
|
|
Loading…
Reference in a new issue