openbsd-ports/multimedia/transcode/patches/patch-aclib_tcmemcpy_c
naddy 672bff840b Reimport into new category (ok jolan@, xsa@, robert@).
Update to 0.6.14; from new maintainer Jacob Meuser <jakemsr@jakemsr.com>.

Notable changes:
- new import module for bktr(4) devices, import_bktr
- new import module for audio(4) devices, import_sunau
- export profiles
- better error checking
- uses YV12/I420 colorspace by default instead of RGB
- uses external ffmpeg/libavcodec
- optimized memcpy on i386
- many small bugs fixed
2005-01-25 21:58:59 +00:00

18 lines
561 B
Plaintext

$OpenBSD: patch-aclib_tcmemcpy_c,v 1.1.1.1 2005/01/25 21:58:59 naddy Exp $
--- aclib/tcmemcpy.c.orig Sat Jan 8 19:24:53 2005
+++ aclib/tcmemcpy.c Sat Jan 8 19:47:38 2005
@@ -6,11 +6,12 @@ void * (*tc_memcpy)(void *, const void *
void tc_memcpy_init(int verbose, int mmflags)
{
- int accel = mmflags == -1 ? ac_mmflag() : mmflags;
const char * method = "libc";
/* these functions are nasm assembly */
#ifdef HAVE_ASM_NASM
+ int accel = mmflags == -1 ? ac_mmflag() : mmflags;
+
if((accel & MM_MMXEXT) || (accel & MM_SSE))
{
method = "mmxext";