OSDN Git Service

h264_i386: Fix operand size
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 3 Dec 2014 21:39:00 +0000 (22:39 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 3 Dec 2014 22:03:13 +0000 (23:03 +0100)
Fixes fate failure on macosx clang x86-64

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/x86/h264_i386.h

index dcba42d..49ad0e0 100644 (file)
@@ -178,7 +178,7 @@ static int decode_significance_8x8_x86(CABACContext *c,
 
         "mov %2, %0                             \n\t"
         "mov %1, %6                             \n\t"
-        "mov %6, (%0)                           \n\t"
+        "mov %k6, (%0)                          \n\t"
 
         "test $1, %4                            \n\t"
         " jnz 5f                                \n\t"
@@ -191,7 +191,7 @@ static int decode_significance_8x8_x86(CABACContext *c,
         "cmp $63, %6                            \n\t"
         " jb 3b                                 \n\t"
         "mov %2, %0                             \n\t"
-        "mov %6, (%0)                           \n\t"
+        "mov %k6, (%0)                          \n\t"
         "5:                                     \n\t"
         "addl %8, %k0                           \n\t"
         "shr $2, %k0                            \n\t"