openbsd-ports/graphics/ffmpeg/patches/patch-libavcodec_mem_c
jolan 11fd439b1b import of ffmpeg-20030622:
FFmpeg is a complete solution to record, convert and stream audio and
video.  It includes libavcodec, the leading audio/video codec library.
2003-07-19 18:16:34 +00:00

17 lines
473 B
Plaintext

$OpenBSD: patch-libavcodec_mem_c,v 1.1.1.1 2003/07/19 18:16:34 jolan Exp $
--- libavcodec/mem.c.orig Thu Mar 6 05:32:02 2003
+++ libavcodec/mem.c Wed Jul 16 20:11:37 2003
@@ -29,9 +29,10 @@
#undef free
#undef realloc
-#ifdef HAVE_MALLOC_H
+/*#ifdef HAVE_MALLOC_H
#include <malloc.h>
-#endif
+#endif*/
+#include <stdlib.h>
/* you can redefine av_malloc and av_free in your project to use your
memory allocator. You do not need to suppress this file because the