x86: cabac: change 'a' constraint to 'r' in get_cabac_inline()
authorMans Rullgard <mans@mansr.com>
Mon, 20 Jun 2011 08:28:19 +0000 (09:28 +0100)
committerMans Rullgard <mans@mansr.com>
Mon, 20 Jun 2011 21:36:30 +0000 (22:36 +0100)
Nothing requires this value in %eax.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/cabac.h

index b967da5..adccf54 100644 (file)
@@ -376,7 +376,7 @@ static av_always_inline int get_cabac_inline(CABACContext *c, uint8_t * const st
         "movl %2, %a6(%5)               \n\t"
         "movl %1, %a7(%5)               \n\t"
 
-        :"=&a"(bit), "=&r"(low), "=&r"(range), "=&r"(tmp)
+        :"=&r"(bit), "=&r"(low), "=&r"(range), "=&r"(tmp)
         :"r"(state), "r"(c),
          "i"(offsetof(CABACContext, range)), "i"(offsetof(CABACContext, low)),
          "i"(offsetof(CABACContext, bytestream))