From 4decc3aaea1cf927fa22529960cfe89aba6644cd Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 6 Jan 2011 12:29:21 +0100 Subject: [PATCH] rtp: Fix unitialized variables on macosx --- gst/rtp/gstrtpmp4adepay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/rtp/gstrtpmp4adepay.c b/gst/rtp/gstrtpmp4adepay.c index 394fc0d..18ebfd2 100644 --- a/gst/rtp/gstrtpmp4adepay.c +++ b/gst/rtp/gstrtpmp4adepay.c @@ -170,8 +170,8 @@ gst_rtp_mp4a_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps) guint8 *data; guint size; gint i; - guint32 rate; - guint8 obj_type, sr_idx, channels; + guint32 rate = 0; + guint8 obj_type = 0, sr_idx = 0, channels = 0; GstBitReader br; buffer = gst_value_get_buffer (&v); -- 2.7.4