--- a/gstreamer_core/plugins/indexers/gstmemindex.c Tue Aug 31 15:30:33 2010 +0300
+++ b/gstreamer_core/plugins/indexers/gstmemindex.c Wed Sep 01 12:16:41 2010 +0100
@@ -16,6 +16,9 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+#ifdef __SYMBIAN32__
+#include <gst_global.h>
+#endif
#include <gst/gst.h>
@@ -182,7 +185,7 @@
g_tree_destroy (index->tree);
}
- g_slice_free (GstMemIndexFormatIndex, index);
+ g_free (index);
}
static void
@@ -197,7 +200,7 @@
id_index->format_index = NULL;
}
- g_slice_free (GstMemIndexId, id_index);
+ g_free (id_index);
}
static void
@@ -231,7 +234,7 @@
id_index = g_hash_table_lookup (memindex->id_index, &entry->id);
if (!id_index) {
- id_index = g_slice_new0 (GstMemIndexId);
+ id_index = g_new0 (GstMemIndexId, 1);
id_index->id = entry->id;
id_index->format_index = g_hash_table_new (g_int_hash, g_int_equal);
@@ -266,7 +269,7 @@
index = g_hash_table_lookup (id_index->format_index, format);
if (!index) {
- index = g_slice_new0 (GstMemIndexFormatIndex);
+ index = g_new0 (GstMemIndexFormatIndex, 1);
index->format = *format;
index->offset = assoc;