[SCM] libav/experimental: 1 instruction less

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:52:26 UTC 2013


The following commit has been merged in the experimental branch:
commit d3e7c5c35be22adb9964a25c434cf3f2f3ea816d
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri Oct 20 08:46:33 2006 +0000

    1 instruction less
    
    Originally committed as revision 6743 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h
index 5cf1a9e..592fe13 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"

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list