changeset 16189:72764c0dad8a

Fixes segfault on IA-32 machines caused by the ASM patch for AMD-64 for a52. Patch by Aurelien Jacobs < aurel AH gnuage POUM org >
author gpoirier
date Tue, 09 Aug 2005 19:58:13 +0000
parents 0dd814292a59
children e9ad2db8a4bd
files liba52/imdct.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liba52/imdct.c	Mon Aug 08 22:49:03 2005 +0000
+++ b/liba52/imdct.c	Tue Aug 09 19:58:13 2005 +0000
@@ -813,7 +813,7 @@
 		"sub $16, %%"REG_D"			\n\t"
 		"jnc 1b				 	\n\t"
 		"pop %%"REG_BP"				\n\t"//no we didnt touch ebp *g*
-		:: "r" (data), "r" (buf)
+		:: "b" (data), "c" (buf)
 		: "%"REG_S, "%"REG_D, "%"REG_a, "%"REG_d
 	);