UDP plugins will work for RedHatians too

Original commit message from CVS:
UDP plugins will work for RedHatians too
This commit is contained in:
Zeeshan Ali 2002-11-08 01:56:49 +00:00
parent 7b3955e369
commit 1125f6c41c
2 changed files with 2 additions and 8 deletions

View file

@ -123,7 +123,8 @@ gst_udpsrc_get (GstPad *pad)
GstUDPSrc *udpsrc;
GstBuffer *outbuf;
struct sockaddr_in tmpaddr;
int len, numbytes;
socklen_t len;
gint numbytes;
fd_set read_fds;
g_return_val_if_fail (pad != NULL, NULL);
@ -142,7 +143,6 @@ gst_udpsrc_get (GstPad *pad)
int ret;
int fdread;
struct sockaddr addr;
socklen_t len;
xmlDocPtr doc;
GstCaps *caps;

View file

@ -28,17 +28,11 @@
extern "C" {
#endif /* __cplusplus */
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netdb.h>
#include <sys/socket.h>
#include <sys/wait.h>
#include <fcntl.h>
#define GST_TYPE_UDPSRC \