openbsd-ports/graphics/transcode/patches/patch-import_extract_ogm_c
sturm 55ff7d07a4 Initial import of transcode 0.6.12
transcode is a text console video-stream processing tool. 
It supports elementary video and audio frame transformations. 
Some example modules are included to enable import of MPEG-1/2, 
Digital Video, and other formats. It also includes export 
modules for writing to AVI files with DivX, OpenDivX, XviD,
Digital Video or other codecs. Direct DVD transcoding is also 
supported. A set of tools is available to extract and decode 
the sources into raw video/audio streams for import and to 
enable post-processing of AVI files.

from Waldemar Brodkorb and Jacob Meuser, maintained by
Waldemar Brodkorb <wbx at openbsd.de>
2004-06-18 18:56:42 +00:00

18 lines
395 B
Plaintext

$OpenBSD: patch-import_extract_ogm_c,v 1.1.1.1 2004/06/18 18:56:46 sturm Exp $
--- import/extract_ogm.c.orig Fri Apr 23 23:27:30 2004
+++ import/extract_ogm.c Fri Apr 23 23:28:00 2004
@@ -17,10 +17,10 @@
# include <errno.h>
#endif
-#if !defined(SYSTEM_DARWIN)
-#ifdef HAVE_MALLOC_H
+#ifndef SYS_BSD
+# ifdef HAVE_MALLOC_H
# include <malloc.h>
-#endif
+# endif
#endif
#include <stdio.h>