summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_noise.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-07-30 21:19:44 +0200
committerwm4 <wm4@nowhere>2012-07-30 22:14:33 +0200
commit6e8633c734d9ed273f84c6ed0a15f53c66fe98fc (patch)
treeb070c03dece00af40bf2c47af1aaac1bff3ef6c5 /libmpcodecs/vf_noise.c
parent261243496ef7a7e90c921f868411ddf8c71c1d83 (diff)
downloadmpv-6e8633c734d9ed273f84c6ed0a15f53c66fe98fc.tar.bz2
mpv-6e8633c734d9ed273f84c6ed0a15f53c66fe98fc.tar.xz
configure: remove checks for malloc.h and alloca()
Including <malloc.h>, especially if all you want is malloc(), has no legitimate uses (on sane platforms at least). Remove the check for it, and remove all uses in the code. Remove unused check for alloca().
Diffstat (limited to 'libmpcodecs/vf_noise.c')
-rw-r--r--libmpcodecs/vf_noise.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libmpcodecs/vf_noise.c b/libmpcodecs/vf_noise.c
index f8d4c2e6a3..c623e11562 100644
--- a/libmpcodecs/vf_noise.c
+++ b/libmpcodecs/vf_noise.c
@@ -28,10 +28,6 @@
#include "mp_msg.h"
#include "cpudetect.h"
-#if HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
#include "img_format.h"
#include "mp_image.h"
#include "vf.h"