[mythtv-users] Compilation error an SUSE 9.1

Oliver Groht oliver.groht at catworkx.de
Sun May 2 09:27:28 EDT 2004


Stefan Seyfried schrieb:

[snip]

whow, this works for me too. Thanks a lot.
Did you code this patch for yourself, or is there a ressource of mythtv 
that is unknown for me?

regards
Oliver

>this fixed this for me, don't know if it would still compile with 2.95.4:
>
>seife at heppo:/usr/local/src/mythtv/mythtv > cvs -z3 -q diff -u libs/libavcodec/liba52/resample_mmx.c
>Index: libs/libavcodec/liba52/resample_mmx.c
>===================================================================
>RCS file: /var/lib/mythcvs/mythtv/libs/libavcodec/liba52/resample_mmx.c,v
>retrieving revision 1.1
>diff -u -r1.1 resample_mmx.c
>--- libs/libavcodec/liba52/resample_mmx.c       20 Apr 2003 05:47:30 -0000      1.1
>+++ libs/libavcodec/liba52/resample_mmx.c       2 May 2004 12:50:04 -0000
>@@ -7,10 +7,10 @@
>        and it would mean (C / MMX2 / MMX / 3DNOW) versions 
> */
> 
>-static uint64_t __attribute__((aligned(8))) magicF2W= 0x43c0000043c00000LL;
>-static uint64_t __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000LL;
>-static uint64_t __attribute__((aligned(8))) wm0101= 0x0000FFFF0000FFFFLL;
>-static uint64_t __attribute__((aligned(8))) wm1100= 0xFFFFFFFF00000000LL;
>+static uint64_t __attribute__((aligned(8),used)) magicF2W= 0x43c0000043c00000LL;
>+static uint64_t __attribute__((aligned(8),used)) wm1010= 0xFFFF0000FFFF0000LL;
>+static uint64_t __attribute__((aligned(8),used)) wm0101= 0x0000FFFF0000FFFFLL;
>+static uint64_t __attribute__((aligned(8),used)) wm1100= 0xFFFFFFFF00000000LL;
> 
> static int a52_resample_MONO_to_5_MMX(float * _f, int16_t * s16){
>     int32_t * f = (int32_t *) _f;
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>  
>



More information about the mythtv-users mailing list