summaryrefslogtreecommitdiffstats
path: root/gst/rtsp
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2005-06-29 16:27:27 +0000
committerAndy Wingo <wingo@pobox.com>2005-06-29 16:27:27 +0000
commitd9b7ddd426ca3bf1d87629e8a605a53d6fffa7a8 (patch)
tree3560a107afac2e1b2e28c46b2fb82781b8e625c3 /gst/rtsp
parent2d109a18fb9bb87100c8b788457bc5c8458f9f50 (diff)
gst/udp/gstudpsink.c (gst_udpsink_get_type): Actually add the
Original commit message from CVS: 2005-06-29 Andy Wingo <wingo@pobox.com> * 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.
Diffstat (limited to 'gst/rtsp')
-rw-r--r--gst/rtsp/rtsptransport.c3
-rw-r--r--gst/rtsp/sdpmessage.c5
2 files changed, 6 insertions, 2 deletions
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 <string.h>
+#include <stdlib.h>
+
#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++;