diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtp/gstrtpL16enc.c | 1 | ||||
-rw-r--r-- | gst/rtp/gstrtpL16pay.c | 1 | ||||
-rw-r--r-- | gst/rtp/gstrtpgsmenc.c | 1 | ||||
-rw-r--r-- | gst/rtp/gstrtpgsmpay.c | 1 | ||||
-rw-r--r-- | gst/udp/gstudpsink.c | 2 | ||||
-rw-r--r-- | gst/udp/gstudpsrc.c | 4 |
6 files changed, 7 insertions, 3 deletions
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 (); |