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).
This commit is contained in:
David Schleef 2004-04-20 23:03:28 +00:00
parent 5450836d65
commit a6928ee380
9 changed files with 32 additions and 4 deletions

View file

@ -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

2
common

@ -1 +1 @@
Subproject commit e55182f6eece70ff99e33b9800b27a926670dbdd
Subproject commit 63d93f01177745ba864263f0b6f976212684cb87

View file

@ -21,6 +21,7 @@
#include "config.h"
#endif
#include <string.h>
#include <stdlib.h>
#include "gstrtpL16enc.h"
/* elementfactory information */

View file

@ -21,6 +21,7 @@
#include "config.h"
#endif
#include <string.h>
#include <stdlib.h>
#include "gstrtpL16enc.h"
/* elementfactory information */

View file

@ -21,6 +21,7 @@
# include "config.h"
#endif
#include <stdlib.h>
#include <string.h>
#include "gstrtpgsmenc.h"

View file

@ -21,6 +21,7 @@
# include "config.h"
#endif
#include <stdlib.h>
#include <string.h>
#include "gstrtpgsmenc.h"

View 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;

View 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 ();

View 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);