From d3e7c5c35be22adb9964a25c434cf3f2f3ea816d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 20 Oct 2006 08:46:33 +0000 Subject: [PATCH] 1 instruction less Originally committed as revision 6743 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/cabac.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"