bsd patch by (Bohdan Horst <nexus at irc dot pl>)
authorBohdan Horst <nexus@irc.pl>
Wed, 25 Aug 2004 00:01:34 +0000 (00:01 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Aug 2004 00:01:34 +0000 (00:01 +0000)
Originally committed as revision 3413 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/dtsdec.c

index 397e74c..128d60f 100644 (file)
 
 #include <stdlib.h>
 #include <string.h>
+
+#ifdef HAVE_MALLOC_H
 #include <malloc.h>
+#endif
 
 #define INBUF_SIZE 4096
 #define BUFFER_SIZE 4096