Fix errors , now it doesn't complains and compiles, Still need to be fixed problems with timestamps

Original commit message from CVS:
Fix errors , now it doesn't complains and compiles, Still need to be fixed problems with timestamps
This commit is contained in:
Angel Carpintero 2003-07-25 09:04:41 +00:00
parent 900db31d43
commit 0a0203b469

View file

@ -18,7 +18,12 @@
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gsttcpsrc.h"
#include <unistd.h>
#define TCP_DEFAULT_PORT 4953
@ -184,7 +189,7 @@ gst_tcpsrc_get (GstPad *pad)
if (select (max_sock+1, &read_fds, NULL, NULL, NULL) > 0) {
if ((tcpsrc->control_sock != -1) && FD_ISSET (tcpsrc->control_sock, &read_fds))
{
guchar *buf;
guchar *buf=NULL;
xmlDocPtr doc;
GstCaps *caps;