summaryrefslogtreecommitdiffstats
path: root/sub
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 /sub
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 'sub')
-rw-r--r--sub/sub.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sub/sub.c b/sub/sub.c
index 21c8d03c67..43fef147d2 100644
--- a/sub/sub.c
+++ b/sub/sub.c
@@ -24,9 +24,6 @@
#include <libavutil/common.h>
#include "config.h"
-#if HAVE_MALLOC_H
-#include <malloc.h>
-#endif
#include "stream/stream.h"
#include "stream/stream_dvdnav.h"