From a6928ee380fd645b49e9b82e6afc3f484ec66672 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 20 Apr 2004 23:03:28 +0000 Subject: 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 (needed by atol(3)). * sys/oss/gstosselement.h: Include (needed for dev_t). * gst/tags/gstvorbistag.c: Include (needed by strtoul(3)). * gst/rtp/gstrtpL16enc.c: Include (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 | 23 +++++++++++++++++++++++ common | 2 +- gst/rtp/gstrtpL16enc.c | 1 + gst/rtp/gstrtpL16pay.c | 1 + gst/rtp/gstrtpgsmenc.c | 1 + gst/rtp/gstrtpgsmpay.c | 1 + gst/udp/gstudpsink.c | 2 +- gst/udp/gstudpsrc.c | 4 ++-- sys/oss/gstosselement.h | 1 + 9 files changed, 32 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index c6438a57..ec5772e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,26 @@ +2004-04-20 Daniel Gazard + + 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 (needed by + atol(3)). + * sys/oss/gstosselement.h: Include (needed for dev_t). + * gst/tags/gstvorbistag.c: Include (needed by + strtoul(3)). + * gst/rtp/gstrtpL16enc.c: Include (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 * gst/realmedia/rmdemux.c: This was supposed to part of the diff --git a/common b/common index e55182f6..63d93f01 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit e55182f6eece70ff99e33b9800b27a926670dbdd +Subproject commit 63d93f01177745ba864263f0b6f976212684cb87 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 +#include #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 +#include #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 #include #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 #include #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 +#include /* debugging category */ GST_DEBUG_CATEGORY_EXTERN (oss_debug); -- cgit