Mercurial > libavcodec.hg
changeset 2294:fac626a2b73b libavcodec
missaliged clear_blocks() and h264 not complied but referenced fix patch by (Roine Gustafsson <roine at users dot sourceforge dot net>) and me
author | michael |
---|---|
date | Mon, 11 Oct 2004 22:47:09 +0000 |
parents | 15cfba1b97b5 |
children | c8f35aaeb857 |
files | ppc/dsputil_ppc.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ppc/dsputil_ppc.c Mon Oct 11 02:19:29 2004 +0000 +++ b/ppc/dsputil_ppc.c Mon Oct 11 22:47:09 2004 +0000 @@ -141,7 +141,7 @@ ((unsigned long*)blocks)[3] = 0L; i += 16; } - for ( ; i < sizeof(DCTELEM)*6*64 ; i += 32) { + for ( ; i < sizeof(DCTELEM)*6*64-31 ; i += 32) { #ifndef __MWERKS__ asm volatile("dcbz %0,%1" : : "b" (blocks), "r" (i) : "memory"); #else @@ -255,9 +255,9 @@ break; } +#ifdef HAVE_ALTIVEC dsputil_h264_init_ppc(c, avctx); -#ifdef HAVE_ALTIVEC if (has_altivec()) { mm_flags |= MM_ALTIVEC;