From d9b7ddd426ca3bf1d87629e8a605a53d6fffa7a8 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 29 Jun 2005 16:27:27 +0000 Subject: gst/udp/gstudpsink.c (gst_udpsink_get_type): Actually add the Original commit message from CVS: 2005-06-29 Andy Wingo * gst/udp/gstudpsink.c (gst_udpsink_get_type): Actually add the URI handler. * gst/udp/gstudpsrc.c (gst_udpsrc_start): (gst_udpsrc_create): Signedness. * gst/rtsp/sdpmessage.c (sdp_message_parse_buffer): Thanks compiler! (sdp_parse_line): Signedness fix. --- gst/rtsp/rtsptransport.c | 3 +++ gst/rtsp/sdpmessage.c | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'gst/rtsp') diff --git a/gst/rtsp/rtsptransport.c b/gst/rtsp/rtsptransport.c index 592778bf..95ac87ee 100644 --- a/gst/rtsp/rtsptransport.c +++ b/gst/rtsp/rtsptransport.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#include +#include + #include "rtsptransport.h" RTSPResult diff --git a/gst/rtsp/sdpmessage.c b/gst/rtsp/sdpmessage.c index dda12eb9..16dd84a7 100644 --- a/gst/rtsp/sdpmessage.c +++ b/gst/rtsp/sdpmessage.c @@ -451,7 +451,7 @@ typedef struct } SDPContext; static gboolean -sdp_parse_line (SDPContext * c, gchar type, guint8 * buffer) +sdp_parse_line (SDPContext * c, gchar type, gchar * buffer) { gchar str[4096]; gchar *p = buffer; @@ -575,8 +575,9 @@ sdp_message_parse_buffer (guint8 * data, guint size, SDPMessage * msg) c.state = SDP_SESSION; c.msg = msg; + c.media = NULL; - p = data; + p = (gchar *) data; while (TRUE) { while (g_ascii_isspace (*p)) p++; -- cgit