{
/* wingo says: use posix_memalign to allocate a 2M-aligned, 2M stack */
- int retval = 0;
-
#ifdef HAVE_POSIX_MEMALIGN
- retval = posix_memalign (stack, STACK_SIZE, STACK_SIZE);
+ int retval = posix_memalign (stack, STACK_SIZE, STACK_SIZE);
if (retval != 0)
{
g_warning ("Could not posix_memalign stack !\n");
split = g_strsplit (peer, ".", 2);
+ if (split[0] == NULL || split[1] == NULL) {
+ GST_DEBUG (GST_CAT_XML, "Could not parse peer '%s' for pad %s:%s, leaving it unconnected",
+ peer, GST_DEBUG_PAD_NAME (pad));
+ return;
+ }
+
g_return_if_fail (split[0] != NULL);
g_return_if_fail (split[1] != NULL);
filename, g_module_error());
return FALSE;
}
-
- /* FIXME: this should not happen */
- g_set_error (error,
- GST_PLUGIN_ERROR,
- GST_PLUGIN_ERROR_MODULE,
- "Error loading plugin %s, reason: %s\n",
- filename,
- "fell of the end of the gst_plugin_load_plugin function");
- return FALSE;
}