aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Poirier <gpoirier@mplayerhq.hu>2005-06-23 20:24:25 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2005-06-23 20:24:25 +0000
commitee8f7193086d8610671818d3823ee3ab8b18a98d (patch)
tree73e911235f813e610487c9c98d449191cc8fa554
parent724dc20cf9b71892604d6cbb5e9cb8c38a98575f (diff)
downloadffmpeg-ee8f7193086d8610671818d3823ee3ab8b18a98d.tar.gz
GCC4 fix
Originally committed as revision 4388 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/libpostproc/postprocess_template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libpostproc/postprocess_template.c b/libavcodec/libpostproc/postprocess_template.c
index 0b88be69de..8f225636ee 100644
--- a/libavcodec/libpostproc/postprocess_template.c
+++ b/libavcodec/libpostproc/postprocess_template.c
@@ -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
);