summaryrefslogtreecommitdiffstats
path: root/libmpdemux/video.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 /libmpdemux/video.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 'libmpdemux/video.c')
-rw-r--r--libmpdemux/video.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libmpdemux/video.c b/libmpdemux/video.c
index 7bb1ade6e0..7daef29360 100644
--- a/libmpdemux/video.c
+++ b/libmpdemux/video.c
@@ -21,9 +21,6 @@
#include "config.h"
#include <stdio.h>
-#if HAVE_MALLOC_H
-#include <malloc.h>
-#endif
#include <stdlib.h>
#include <string.h>
#include <unistd.h>