ext/mad/gstid3tag.c: Add stdlib.h
authorDavid Schleef <ds@schleef.org>
Tue, 20 Apr 2004 23:03:28 +0000 (23:03 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 20 Apr 2004 23:03:28 +0000 (23:03 +0000)
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).

ChangeLog
common
gst/rtp/gstrtpL16enc.c
gst/rtp/gstrtpL16pay.c
gst/rtp/gstrtpgsmenc.c
gst/rtp/gstrtpgsmpay.c
gst/udp/gstudpsink.c
gst/udp/gstudpsrc.c
sys/oss/gstosselement.h

index c6438a5712d35b32f15dad8fe4a3a519abb0aee7..ec5772e7d365d7ad58531782670f513f0c8a3f34 100644 (file)
--- 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
index e55182f6eece70ff99e33b9800b27a926670dbdd..63d93f01177745ba864263f0b6f976212684cb87 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit e55182f6eece70ff99e33b9800b27a926670dbdd
+Subproject commit 63d93f01177745ba864263f0b6f976212684cb87
index 126022002381db0ac560c63053cfb2d4e9aa8040..373d2d68747376813581a7a7c79e816fd6a8172d 100644 (file)
@@ -21,6 +21,7 @@
 #include "config.h"
 #endif
 #include <string.h>
+#include <stdlib.h>
 #include "gstrtpL16enc.h"
 
 /* elementfactory information */
index 126022002381db0ac560c63053cfb2d4e9aa8040..373d2d68747376813581a7a7c79e816fd6a8172d 100644 (file)
@@ -21,6 +21,7 @@
 #include "config.h"
 #endif
 #include <string.h>
+#include <stdlib.h>
 #include "gstrtpL16enc.h"
 
 /* elementfactory information */
index 2310d0e34b3d63b3aa4ca762f9783cdbdd5911da..f95cc7e3a3a23a03662fe0b98bda72ad790f94a4 100644 (file)
@@ -21,6 +21,7 @@
 #  include "config.h"
 #endif
 
+#include <stdlib.h>
 #include <string.h>
 #include "gstrtpgsmenc.h"
 
index 2310d0e34b3d63b3aa4ca762f9783cdbdd5911da..f95cc7e3a3a23a03662fe0b98bda72ad790f94a4 100644 (file)
@@ -21,6 +21,7 @@
 #  include "config.h"
 #endif
 
+#include <stdlib.h>
 #include <string.h>
 #include "gstrtpgsmenc.h"
 
index de2a652b85ecfbff02b9b6f991a2fb441053bbb1..7de10b0fec7ff431638f862d5ae803252598ce55 100644 (file)
@@ -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;
index a4a8dd7da08065eaf5b7d22849f19bff510cfe9e..8486376cfb4548e8ce15651e78655bdd4886a1e6 100644 (file)
@@ -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 ();
index 9c301877685f909eb8fd151376c1de570a011ced..d541ecc5a8a4fa6e42d749ddaa4eaf00cad00353 100644 (file)
@@ -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);