+2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
+
+ * gst-libs/gst/fft/kiss_fft_f32.h:
+ * gst-libs/gst/fft/kiss_fft_f64.h:
+ * gst-libs/gst/fft/kiss_fft_s16.h:
+ * gst-libs/gst/fft/kiss_fft_s32.h:
+ Don't include malloc.h which doesn't exist on Mac OSX.
+ Instead, pull in glib.h and use g_malloc/g_free for
+ consistency. Fixes: #496548
+
2007-11-09 Stefan Kost <ensonic@users.sf.net>
* gst/playback/gstdecodebin2.c:
#include <stdio.h>
#include <math.h>
#include <memory.h>
-#include <malloc.h>
+#include <glib.h>
#ifdef __cplusplus
extern "C" {
in the tools/ directory.
*/
-#define KISS_FFT_F32_MALLOC malloc
+#define KISS_FFT_F32_MALLOC g_malloc
#define kiss_fft_f32_scalar float
typedef struct {
/* If kiss_fft_f32_alloc allocated a buffer, it is one contiguous
buffer and can be simply free()d when no longer needed*/
-#define kiss_fft_f32_free free
+#define kiss_fft_f32_free g_free
/*
Cleans up some memory that gets managed internally. Not necessary to call, but it might clean up
#include <stdio.h>
#include <math.h>
#include <memory.h>
-#include <malloc.h>
+#include <glib.h>
#ifdef __cplusplus
extern "C" {
in the tools/ directory.
*/
-#define KISS_FFT_F64_MALLOC malloc
+#define KISS_FFT_F64_MALLOC g_malloc
#define kiss_fft_f64_scalar double
typedef struct {
/* If kiss_fft_f64_alloc allocated a buffer, it is one contiguous
buffer and can be simply free()d when no longer needed*/
-#define kiss_fft_f64_free free
+#define kiss_fft_f64_free g_free
/*
Cleans up some memory that gets managed internally. Not necessary to call, but it might clean up
#include <stdio.h>
#include <math.h>
#include <memory.h>
-#include <malloc.h>
+#include <glib.h>
#ifdef __cplusplus
extern "C" {
in the tools/ directory.
*/
-#define KISS_FFT_S16_MALLOC malloc
+#define KISS_FFT_S16_MALLOC g_malloc
#include "_stdint.h"
/* If kiss_fft_s16_alloc allocated a buffer, it is one contiguous
buffer and can be simply free()d when no longer needed*/
-#define kiss_fft_s16_free free
+#define kiss_fft_s16_free g_free
/*
Cleans up some memory that gets managed internally. Not necessary to call, but it might clean up
#include <stdio.h>
#include <math.h>
#include <memory.h>
-#include <malloc.h>
+#include <glib.h>
#ifdef __cplusplus
extern "C" {
in the tools/ directory.
*/
-#define KISS_FFT_S32_MALLOC malloc
+#define KISS_FFT_S32_MALLOC g_malloc
#include "_stdint.h"
/* If kiss_fft_s32_alloc allocated a buffer, it is one contiguous
buffer and can be simply free()d when no longer needed*/
-#define kiss_fft_s32_free free
+#define kiss_fft_s32_free g_free
/*
Cleans up some memory that gets managed internally. Not necessary to call, but it might clean up