diff options
Diffstat (limited to 'sys/androidmedia/gstahcsrc.c')
-rw-r--r-- | sys/androidmedia/gstahcsrc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/androidmedia/gstahcsrc.c b/sys/androidmedia/gstahcsrc.c index c568a01ba..08ac4cd96 100644 --- a/sys/androidmedia/gstahcsrc.c +++ b/sys/androidmedia/gstahcsrc.c @@ -2125,7 +2125,7 @@ gst_ahc_src_on_preview_frame (jbyteArray array, gpointer user_data) GST_DEBUG_OBJECT (self, "Received data buffer %p", array); - malloc_data = g_slice_new0 (FreeFuncBuffer); + malloc_data = g_slice_new (FreeFuncBuffer); malloc_data->self = gst_object_ref (self); malloc_data->array = (*env)->NewGlobalRef (env, array); malloc_data->data = (*env)->GetByteArrayElements (env, array, NULL); @@ -2140,7 +2140,7 @@ gst_ahc_src_on_preview_frame (jbyteArray array, gpointer user_data) GST_DEBUG_OBJECT (self, "creating wrapped buffer (size: %d)", self->buffer_size); - item = g_slice_new0 (GstDataQueueItem); + item = g_slice_new (GstDataQueueItem); item->object = GST_MINI_OBJECT (buffer); item->size = gst_buffer_get_size (buffer); item->duration = GST_BUFFER_DURATION (buffer); |