summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/pcapparse/gstpcapparse.c2
-rw-r--r--sys/applemedia/mioapi.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/gst/pcapparse/gstpcapparse.c b/gst/pcapparse/gstpcapparse.c
index 640bbe36c..2d3436cc6 100644
--- a/gst/pcapparse/gstpcapparse.c
+++ b/gst/pcapparse/gstpcapparse.c
@@ -330,7 +330,7 @@ gst_pcap_parse_scan_frame (GstPcapParse * self,
const guint8 * buf,
gint buf_size, const guint8 ** payload, gint * payload_size)
{
- const guint8 *buf_ip;
+ const guint8 *buf_ip = 0;
const guint8 *buf_udp;
guint16 eth_type;
guint8 b;
diff --git a/sys/applemedia/mioapi.c b/sys/applemedia/mioapi.c
index f3357b054..81b38e9ab 100644
--- a/sys/applemedia/mioapi.c
+++ b/sys/applemedia/mioapi.c
@@ -24,6 +24,8 @@
#define MIO_FRAMEWORK_PATH "/System/Library/PrivateFrameworks/" \
"CoreMediaIOServices.framework/CoreMediaIOServices"
+GType gst_mio_api_get_type (void);
+
G_DEFINE_TYPE (GstMIOApi, gst_mio_api, GST_TYPE_DYN_API);
static void