summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Decina <alessandro.d@gmail.com>2010-12-01 23:20:36 +0100
committerAlessandro Decina <alessandro.d@gmail.com>2010-12-01 23:20:36 +0100
commitaae72680bd7dbd80c609d4ba43511744fe878465 (patch)
tree0cf6d1963418b7d339a65302bfb090b18c7c6249
parentce6d8b6d932b82719b971105c409ef91806aa725 (diff)
Fix compiler warnings with gcc 4.2.1 on OSX.
-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