1 --- mythtv-0.18.1/libs/libavcodec/msmpeg4.c.old 2005-06-03 21:31:43.000000000 +0100
2 +++ mythtv-0.18.1/libs/libavcodec/msmpeg4.c 2005-06-03 21:31:51.000000000 +0100
4 necessitate to modify mpegvideo.c. The problem comes from the
5 fact they decided to store the quantized DC (which would lead
6 to problems if Q could vary !) */
7 -#if (defined(ARCH_X86) || defined(ARCH_X86_64)) && !defined PIC
8 +#if (defined(ARCH_X86) || defined(ARCH_X86_64)) && !defined __PIC__
12 --- mythtv-0.18.1/libs/libavcodec/i386/dsputil_mmx_avg.h.old 2005-06-03 21:38:57.000000000 +0100
13 +++ mythtv-0.18.1/libs/libavcodec/i386/dsputil_mmx_avg.h 2005-06-03 21:39:02.000000000 +0100
18 -#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
19 +#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
20 :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst)
22 :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
27 -#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
28 +#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
29 :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst)
31 :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
36 -#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
37 +#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
38 :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst)
40 :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
45 -#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
46 +#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
47 :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst)
49 :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
54 -#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
55 +#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
56 :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst)
58 :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
63 -#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
64 +#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
65 :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst)
67 :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
72 -#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
73 +#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
74 :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst)
76 :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
81 -#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
82 +#ifdef __PIC__ //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
83 :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst)
85 :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)