summaryrefslogtreecommitdiff
path: root/libavcodec/x86/h264_i386.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-07-29 01:55:58 +0100
committerAlex Converse <alex.converse@gmail.com>2011-07-28 18:59:23 -0700
commit3ad168412600e16dfaa4b41b21322a82a8535990 (patch)
tree8f8e4b53a9ecf1ac47be9d20f897eace85196256 /libavcodec/x86/h264_i386.h
parent2a11952f457658d58303c8e5b4e10fb4599eef4f (diff)
x86: cabac: add operand size suffixes missing from 6c32576
This fixes build with clang. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/x86/h264_i386.h')
-rw-r--r--libavcodec/x86/h264_i386.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/h264_i386.h b/libavcodec/x86/h264_i386.h
index eb77002ce0..f32310ca0c 100644
--- a/libavcodec/x86/h264_i386.h
+++ b/libavcodec/x86/h264_i386.h
@@ -67,7 +67,7 @@ static int decode_significance_x86(CABACContext *c, int max_coeff,
"test $1, %4 \n\t"
" jnz 4f \n\t"
- "add $4, %2 \n\t"
+ "add"OPSIZE" $4, %2 \n\t"
"3: \n\t"
"add $1, %1 \n\t"
@@ -125,7 +125,7 @@ static int decode_significance_8x8_x86(CABACContext *c,
"test $1, %4 \n\t"
" jnz 4f \n\t"
- "add $4, %2 \n\t"
+ "add"OPSIZE" $4, %2 \n\t"
"3: \n\t"
"addl $1, %k6 \n\t"