[mythtv] [patch] PowerPC Altivec Patch

Mino Taoyama mythtv at taoyama.com
Sun Aug 15 15:25:54 EDT 2004

Here is a patch to fix a compile problem with Altivec enabled on 
PowerPC based systems.

When compiling Altivec code 'vector' is a reserved compiler word. The 
code in svq1.c uses vector as a local variable name.  This patch 
changes the local variable to 'vect'.

A note to anyone who is compiling under the GCC distributed with 
Yellowdog Linux 3.0. Altivec is broken.  I had bad artifacts using 
MPEG4.  I picked up a development version of 3.3.4 "(GCC) 3.3.4 
20040405 (prerelease)" and everything looks great.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: svq1.c.patch
Type: application/octet-stream
Size: 1469 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040815/ca9f7344/svq1.c.obj

More information about the mythtv-dev mailing list