mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
Fix compiler warnings with gcc 4.2.1 on OSX.
This commit is contained in:
parent
ce6d8b6d93
commit
aae72680bd
2 changed files with 3 additions and 1 deletions
|
@ -330,7 +330,7 @@ gst_pcap_parse_scan_frame (GstPcapParse * self,
|
||||||
const guint8 * buf,
|
const guint8 * buf,
|
||||||
gint buf_size, const guint8 ** payload, gint * payload_size)
|
gint buf_size, const guint8 ** payload, gint * payload_size)
|
||||||
{
|
{
|
||||||
const guint8 *buf_ip;
|
const guint8 *buf_ip = 0;
|
||||||
const guint8 *buf_udp;
|
const guint8 *buf_udp;
|
||||||
guint16 eth_type;
|
guint16 eth_type;
|
||||||
guint8 b;
|
guint8 b;
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
#define MIO_FRAMEWORK_PATH "/System/Library/PrivateFrameworks/" \
|
#define MIO_FRAMEWORK_PATH "/System/Library/PrivateFrameworks/" \
|
||||||
"CoreMediaIOServices.framework/CoreMediaIOServices"
|
"CoreMediaIOServices.framework/CoreMediaIOServices"
|
||||||
|
|
||||||
|
GType gst_mio_api_get_type (void);
|
||||||
|
|
||||||
G_DEFINE_TYPE (GstMIOApi, gst_mio_api, GST_TYPE_DYN_API);
|
G_DEFINE_TYPE (GstMIOApi, gst_mio_api, GST_TYPE_DYN_API);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue