Mercurial > mplayer.hg
changeset 10267:d953763cc555
libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
Make sure that altivec gets enabled in libmpeg2
author | arpi |
---|---|
date | Mon, 09 Jun 2003 12:10:42 +0000 |
parents | db0c6834b6db |
children | f486ad4016ad |
files | libmpcodecs/vd_libmpeg2.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_libmpeg2.c Mon Jun 09 12:09:39 2003 +0000 +++ b/libmpcodecs/vd_libmpeg2.c Mon Jun 09 12:10:42 2003 +0000 @@ -47,6 +47,8 @@ accel |= MPEG2_ACCEL_X86_MMXEXT; if(gCpuCaps.has3DNow) accel |= MPEG2_ACCEL_X86_3DNOW; + if(gCpuCaps.hasAltiVec) + accel |= MPEG2_ACCEL_PPC_ALTIVEC; #ifdef HAVE_MLIB accel |= MPEG2_ACCEL_MLIB; #endif