summaryrefslogtreecommitdiffstats
path: root/gst/udp/gstudpsrc.c
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/udp/gstudpsrc.c
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/udp/gstudpsrc.c')
-rw-r--r--gst/udp/gstudpsrc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c
index b04fdc15..e7518627 100644
--- a/gst/udp/gstudpsrc.c
+++ b/gst/udp/gstudpsrc.c
@@ -289,7 +289,7 @@ gst_udpsrc_create (GstPushSrc * psrc, GstBuffer ** buf)
}
outbuf = gst_netbuffer_new ();
- GST_BUFFER_DATA (outbuf) = pktdata;
+ GST_BUFFER_DATA (outbuf) = (guint8 *) pktdata;
GST_BUFFER_SIZE (outbuf) = ret;
gst_netaddress_set_ip4_address (&outbuf->from, tmpaddr.sin_addr.s_addr,
@@ -420,7 +420,8 @@ gst_udpsrc_start (GstBaseSrc * bsrc)
guint bc_val;
gint reuse;
struct sockaddr_in my_addr;
- int len, port;
+ guint len;
+ int port;
GstUDPSrc *src;
gint ret;