On Sat, Mar 13, 2010 at 11:17:59 (CET), Jonas Smedegaard wrote:

> On Fri, Mar 12, 2010 at 08:48:40PM +0000, siret...@users.alioth.debian.org 
> wrote:
>>diff --git a/debian/patches/fix-ftbfs-altivec.patch 
>>++#if ARCH_PPC && defined COMPILE_ALTIVEC
>>      if (flags & SWS_CPU_CAPS_ALTIVEC)
>>          return swScale_altivec;
>>      else
> Doesn't above mean that if the compiler host supports altivec then the
> compiled binary won't work without altivec?

Yes and no. ffmpeg builds two different flavors on powerpc, one that is
configured with --enable altivec and gets installed into
/usr/lib/altivec and another one configured --without-altivec and gets
installed to /usr/lib.

/lib/ld-linux.so queries the kernel for hardware capabilities and sets
the .so search path appropriately.

Reinhard Tartler, KeyID 945348A4

pkg-multimedia-maintainers mailing list

Reply via email to