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). --- gst/udp/gstudpsrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/udp/gstudpsrc.c') 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 (); -- cgit