GCC4 fix
authorGuillaume Poirier <gpoirier@mplayerhq.hu>
Thu, 23 Jun 2005 20:24:25 +0000 (20:24 +0000)
committerGuillaume Poirier <gpoirier@mplayerhq.hu>
Thu, 23 Jun 2005 20:24:25 +0000 (20:24 +0000)
Originally committed as revision 4388 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/libpostproc/postprocess_template.c

index 0b88be6..8f22563 100644 (file)
@@ -3495,7 +3495,7 @@ static void RENAME(postProcess)(uint8_t src[], int srcStride, uint8_t dst[], int
                                "prefetchnta 32(%%"REG_a", %0)  \n\t"
                                "prefetcht0 32(%%"REG_d", %2)   \n\t"
                        :: "r" (srcBlock), "r" ((long)srcStride), "r" (dstBlock), "r" ((long)dstStride),
-                       "m" ((long)x), "m" ((long)copyAhead)
+                       "g" ((long)x), "g" ((long)copyAhead)
                        : "%"REG_a, "%"REG_d
                        );
 
@@ -3641,7 +3641,7 @@ static void RENAME(postProcess)(uint8_t src[], int srcStride, uint8_t dst[], int
                                "prefetchnta 32(%%"REG_a", %0)  \n\t"
                                "prefetcht0 32(%%"REG_d", %2)   \n\t"
                        :: "r" (srcBlock), "r" ((long)srcStride), "r" (dstBlock), "r" ((long)dstStride),
-                       "m" ((long)x), "m" ((long)copyAhead)
+                        "g" ((long)x), "g" ((long)copyAhead)
                        : "%"REG_a, "%"REG_d
                        );