summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg/patches/patch-ak
blob: c73046a21474eeb17370eae4bb491aede7aab8aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ak,v 1.1 2007/08/02 21:48:34 dbj Exp $

--- libavcodec/msmpeg4.c.orig	2004-05-25 11:07:24.000000000 -0700
+++ libavcodec/msmpeg4.c	2007-08-02 11:27:58.000000000 -0700
@@ -716,7 +716,11 @@ static inline int msmpeg4_pred_dc(MpegEn
        necessitate to modify mpegvideo.c. The problem comes from the
        fact they decided to store the quantized DC (which would lead
        to problems if Q could vary !) */
-#if defined ARCH_X86 && !defined PIC
+/* XXX
+ * i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)
+ * error: can't find a register in class ?BREG? while reloading ?asm?
+ */
+#if defined ARCH_X86 && !defined PIC && !defined __APPLE__
     asm volatile(
         "movl %3, %%eax		\n\t"
 	"shrl $1, %%eax		\n\t"