]> git.sesse.net Git - ffmpeg/commitdiff
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 397e74cceb5122723cd0cc1b7995e94e70b4fea1..128d60f9bad9e2ca7ff2fee087ecaf03650f67f7 100644 (file)
 
 #include <stdlib.h>
 #include <string.h>
+
+#ifdef HAVE_MALLOC_H
 #include <malloc.h>
+#endif
 
 #define INBUF_SIZE 4096
 #define BUFFER_SIZE 4096