Fix compiler warnings with gcc 4.2.1 on OSX.

This commit is contained in:
Alessandro Decina 2010-12-01 23:20:36 +01:00
parent ce6d8b6d93
commit aae72680bd
2 changed files with 3 additions and 1 deletions

View file

@ -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;

View file

@ -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