From 2d3df05ca0ec3bf008aaa4b3ff97c35a61c25c00 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Mon, 9 Oct 2006 21:39:07 +0000
Subject: [PATCH] on the P4 inc needs twice as much time a add

Originally committed as revision 6611 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/cabac.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h
index e5d8791c548..7626e93d577 100644
--- a/libavcodec/cabac.h
+++ b/libavcodec/cabac.h
@@ -417,7 +417,7 @@ static int get_cabac(CABACContext *c, uint8_t * const state){
         "shll %%cl, %%edx                       \n\t"
         "movb "LPS_STATE"(%2, %%eax), %%cl      \n\t"
         "movb %%cl, (%1)                        \n\t"
-        "incl %%eax                             \n\t"
+        "addl $1, %%eax                         \n\t"
         "test %%bx, %%bx                        \n\t"
         " jnz 2f                                \n\t"
 
-- 
GitLab