summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2004-04-20 23:03:28 +0000
committerDavid Schleef <ds@schleef.org>2004-04-20 23:03:28 +0000
commita6928ee380fd645b49e9b82e6afc3f484ec66672 (patch)
treeabfa14327840374ab30d389b0e1c2a29770b17b1
parent5450836d65a4b8e9ccde8f4b68c3e98877e4b967 (diff)
ext/mad/gstid3tag.c: Add stdlib.h
Original commit message from CVS: reviewed by David Schleef * ext/mad/gstid3tag.c: Add stdlib.h * gst/rtp/gstrtpgsmenc.c: same * gst/tags/gstid3tag.c: same * gst/udp/gstudpsrc.c: (gst_udpsrc_get): Fix GST_DISABLE_LOADSAVE * gst/tcp/gsttcpsink.c: (gst_tcpsink_sink_link): Adjust GST_DISABLE_LOADSAVE use. * gst/udp/gstudpsink.c: (gst_udpsink_sink_link): Likewise. * gst/tcp/gsttcpsrc.c: (gst_tcpsrc_get): Likewise. * ext/gnomevfs/gstgnomevfssrc.c: Include <stdlib.h> (needed by atol(3)). * sys/oss/gstosselement.h: Include <sys/types.h> (needed for dev_t). * gst/tags/gstvorbistag.c: Include <stdlib.h> (needed by strtoul(3)). * gst/rtp/gstrtpL16enc.c: Include <stdlib.h> (needed by random(3)). * ext/mad/Makefile.am: (libgstmad_la_CFLAGS): Add $(MAD_CFLAGS) $(ID3_CFLAGS). * ext/libfame/Makefile.am: (libgstlibfame_la_CFLAGS): Add $(LIBFAME_CFLAGS).
-rw-r--r--ChangeLog23
m---------common0
-rw-r--r--gst/rtp/gstrtpL16enc.c1
-rw-r--r--gst/rtp/gstrtpL16pay.c1
-rw-r--r--gst/rtp/gstrtpgsmenc.c1
-rw-r--r--gst/rtp/gstrtpgsmpay.c1
-rw-r--r--gst/udp/gstudpsink.c2
-rw-r--r--gst/udp/gstudpsrc.c4
-rw-r--r--sys/oss/gstosselement.h1
9 files changed, 31 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c6438a57..ec5772e7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,26 @@
+2004-04-20 Daniel Gazard <daniel.gazard@epita.fr>
+
+ reviewed by David Schleef
+
+ * ext/mad/gstid3tag.c: Add stdlib.h
+ * gst/rtp/gstrtpgsmenc.c: same
+ * gst/tags/gstid3tag.c: same
+ * gst/udp/gstudpsrc.c: (gst_udpsrc_get): Fix GST_DISABLE_LOADSAVE
+ * gst/tcp/gsttcpsink.c: (gst_tcpsink_sink_link): Adjust
+ GST_DISABLE_LOADSAVE use.
+ * gst/udp/gstudpsink.c: (gst_udpsink_sink_link): Likewise.
+ * gst/tcp/gsttcpsrc.c: (gst_tcpsrc_get): Likewise.
+ * ext/gnomevfs/gstgnomevfssrc.c: Include <stdlib.h> (needed by
+ atol(3)).
+ * sys/oss/gstosselement.h: Include <sys/types.h> (needed for dev_t).
+ * gst/tags/gstvorbistag.c: Include <stdlib.h> (needed by
+ strtoul(3)).
+ * gst/rtp/gstrtpL16enc.c: Include <stdlib.h> (needed by random(3)).
+ * ext/mad/Makefile.am: (libgstmad_la_CFLAGS): Add $(MAD_CFLAGS)
+ $(ID3_CFLAGS).
+ * ext/libfame/Makefile.am: (libgstlibfame_la_CFLAGS): Add
+ $(LIBFAME_CFLAGS).
+
2004-04-20 David Schleef <ds@schleef.org>
* gst/realmedia/rmdemux.c: This was supposed to part of the
diff --git a/common b/common
-Subproject e55182f6eece70ff99e33b9800b27a926670dbd
+Subproject 63d93f01177745ba864263f0b6f976212684cb8
diff --git a/gst/rtp/gstrtpL16enc.c b/gst/rtp/gstrtpL16enc.c
index 12602200..373d2d68 100644
--- a/gst/rtp/gstrtpL16enc.c
+++ b/gst/rtp/gstrtpL16enc.c
@@ -21,6 +21,7 @@
#include "config.h"
#endif
#include <string.h>
+#include <stdlib.h>
#include "gstrtpL16enc.h"
/* elementfactory information */
diff --git a/gst/rtp/gstrtpL16pay.c b/gst/rtp/gstrtpL16pay.c
index 12602200..373d2d68 100644
--- a/gst/rtp/gstrtpL16pay.c
+++ b/gst/rtp/gstrtpL16pay.c
@@ -21,6 +21,7 @@
#include "config.h"
#endif
#include <string.h>
+#include <stdlib.h>
#include "gstrtpL16enc.h"
/* elementfactory information */
diff --git a/gst/rtp/gstrtpgsmenc.c b/gst/rtp/gstrtpgsmenc.c
index 2310d0e3..f95cc7e3 100644
--- a/gst/rtp/gstrtpgsmenc.c
+++ b/gst/rtp/gstrtpgsmenc.c
@@ -21,6 +21,7 @@
# include "config.h"
#endif
+#include <stdlib.h>
#include <string.h>
#include "gstrtpgsmenc.h"
diff --git a/gst/rtp/gstrtpgsmpay.c b/gst/rtp/gstrtpgsmpay.c
index 2310d0e3..f95cc7e3 100644
--- a/gst/rtp/gstrtpgsmpay.c
+++ b/gst/rtp/gstrtpgsmpay.c
@@ -21,6 +21,7 @@
# include "config.h"
#endif
+#include <stdlib.h>
#include <string.h>
#include "gstrtpgsmenc.h"
diff --git a/gst/udp/gstudpsink.c b/gst/udp/gstudpsink.c
index de2a652b..7de10b0f 100644
--- a/gst/udp/gstudpsink.c
+++ b/gst/udp/gstudpsink.c
@@ -158,6 +158,7 @@ gst_udpsink_class_init (GstUDPSink * klass)
static GstPadLinkReturn
gst_udpsink_sink_link (GstPad * pad, const GstCaps * caps)
{
+#ifndef GST_DISABLE_LOADSAVE
GstUDPSink *udpsink;
struct sockaddr_in serv_addr;
struct hostent *serverhost;
@@ -165,7 +166,6 @@ gst_udpsink_sink_link (GstPad * pad, const GstCaps * caps)
FILE *f;
guint bc_val;
-#ifndef GST_DISABLE_LOADSAVE
xmlDocPtr doc;
xmlChar *buf;
int buf_size;
diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c
index a4a8dd7d..8486376c 100644
--- a/gst/udp/gstudpsrc.c
+++ b/gst/udp/gstudpsrc.c
@@ -254,9 +254,9 @@ gst_udpsrc_get (GstPad * pad)
GST_ELEMENT_ERROR (udpsrc, CORE, NEGOTIATION, (NULL),
("Got unfixed caps from peer"));
}
-
-#endif
g_free (buf);
+#endif
+
outbuf = NULL;
} else {
outbuf = gst_buffer_new ();
diff --git a/sys/oss/gstosselement.h b/sys/oss/gstosselement.h
index 9c301877..d541ecc5 100644
--- a/sys/oss/gstosselement.h
+++ b/sys/oss/gstosselement.h
@@ -24,6 +24,7 @@
#define __GST_OSS_ELEMENT_H__
#include <gst/gst.h>
+#include <sys/types.h>
/* debugging category */
GST_DEBUG_CATEGORY_EXTERN (oss_debug);