aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorBohdan Horst <nexus@irc.pl>2004-08-25 00:01:34 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-08-25 00:01:34 +0000
commitad730459eda013b73300c4841051a355332030f0 (patch)
treee930784d7402cca74f48c1533243c6add5a75bea /libavcodec
parent91d6655aa7a1f58838b5946cac960b49c6081132 (diff)
downloadffmpeg-ad730459eda013b73300c4841051a355332030f0.tar.gz
bsd patch by (Bohdan Horst <nexus at irc dot pl>)
Originally committed as revision 3413 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dtsdec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/dtsdec.c b/libavcodec/dtsdec.c
index 397e74cceb..128d60f9ba 100644
--- a/libavcodec/dtsdec.c
+++ b/libavcodec/dtsdec.c
@@ -28,7 +28,10 @@
#include <stdlib.h>
#include <string.h>
+
+#ifdef HAVE_MALLOC_H
#include <malloc.h>
+#endif
#define INBUF_SIZE 4096
#define BUFFER_SIZE 4096