aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-10-20 08:46:33 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-10-20 08:46:33 +0000
commitd3e7c5c35be22adb9964a25c434cf3f2f3ea816d (patch)
treecc88940091bc9baca779744383c1bfa783b10947 /libavcodec
parente7768fc512cbe6bc22fd5d0bc22bbf4c95001e9a (diff)
downloadffmpeg-d3e7c5c35be22adb9964a25c434cf3f2f3ea816d.tar.gz
1 instruction less
Originally committed as revision 6743 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/cabac.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h
index 5cf1a9e39d..592fe1313a 100644
--- a/libavcodec/cabac.h
+++ b/libavcodec/cabac.h
@@ -696,11 +696,12 @@ static int decode_significance_x86(CABACContext *c, int max_coeff, uint8_t *sign
"addl %1, %%ecx \n\t"
"movl %%ecx, (%%eax) \n\t"
"addl $4, %%eax \n\t"
- "movl %%eax, %2 \n\t"
"test $1, %%edx \n\t"
" jnz 4f \n\t"
+ "movl %%eax, %2 \n\t"
+
"3: \n\t"
"addl $1, %1 \n\t"
"cmpl %5, %1 \n\t"