changeset 2767:49da251f2608 libavcodec

GCC4 fix
author gpoirier
date Thu, 23 Jun 2005 20:24:25 +0000
parents 0609f405e000
children d2b3f948599d
files libpostproc/postprocess_template.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpostproc/postprocess_template.c	Sun Jun 19 23:33:09 2005 +0000
+++ b/libpostproc/postprocess_template.c	Thu Jun 23 20:24:25 2005 +0000
@@ -3495,7 +3495,7 @@
 				"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 @@
 				"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
 			);