Browse Source

x86: cabac: change 'a' constraint to 'r' in get_cabac_inline()

Nothing requires this value in %eax.

Signed-off-by: Mans Rullgard <mans@mansr.com>
tags/n0.8
Mans Rullgard 14 years ago
parent
commit
3146a30e61
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/cabac.h

+ 1
- 1
libavcodec/cabac.h View 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))


Loading…
Cancel
Save