[FFmpeg-devel] [PATCH] libswscale: Altivec, C and runtime cpu detection

Adrian Stutz adrian
Wed Jun 24 23:44:39 CEST 2009


Hello,

In r28352 compiling C code was disabled for ARCH_PPC to fix a warning.
That's fine when compiling without runtime cpu detection but fails if
it's enabled because getSwsFunc always compiles C code with runtime
cpu detection enabled.

Attached patch fixes this by disabling the C code for ARCH_PPC only if
CONFIG_RUNTIME_CPUDETECT is not set.

Greetings
Adrian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpu_runtime_detection_altivec_c.patch
Type: text/x-diff
Size: 353 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090624/f3730076/attachment.patch>



More information about the ffmpeg-devel mailing list