diff options
author | Mans Rullgard <mans@mansr.com> | 2011-06-20 23:10:26 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-06-20 23:36:40 +0100 |
commit | c5ee740745596941b84b738cc528ec85b0e6f0a3 (patch) | |
tree | a0a6ebc9d194e964828916b22fa1fa4790c70708 /libavcodec/x86/cabac.h | |
parent | 2143d69bddf42c8c2cf9f45e1f0ce7750e96aad3 (diff) | |
download | ffmpeg-c5ee740745596941b84b738cc528ec85b0e6f0a3.tar.gz |
x86: cabac: fix register constraints for 32-bit mode
Some operands need to be accessed in byte mode, which restricts the
available registers in 32-bit mode. Using the 'q' constraint selects
a suitable register.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/x86/cabac.h')
-rw-r--r-- | libavcodec/x86/cabac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/cabac.h b/libavcodec/x86/cabac.h index 3e5a2217ae..52bea9c53d 100644 --- a/libavcodec/x86/cabac.h +++ b/libavcodec/x86/cabac.h @@ -98,7 +98,7 @@ static av_always_inline int get_cabac_inline_x86(CABACContext *c, "movl %2, %a6(%5) \n\t" "movl %1, %a7(%5) \n\t" - :"=&r"(bit), "=&r"(low), "=&r"(range), "=&r"(tmp) + :"=&r"(bit), "=&r"(low), "=&r"(range), "=&q"(tmp) :"r"(state), "r"(c), "i"(offsetof(CABACContext, range)), "i"(offsetof(CABACContext, low)), "i"(offsetof(CABACContext, bytestream)) |