rtp: Fix unitialized variables on macosx
authorEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 6 Jan 2011 11:29:21 +0000 (12:29 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 6 Jan 2011 11:29:21 +0000 (12:29 +0100)
gst/rtp/gstrtpmp4adepay.c

index 394fc0d..18ebfd2 100644 (file)
@@ -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);