OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e962604
)
Fix crash with illegal instruction, cmov is available on 686 and later only.
author
Diego Biurrun
<diego@biurrun.de>
Mon, 16 Oct 2006 21:47:19 +0000
(21:47 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Mon, 16 Oct 2006 21:47:19 +0000
(21:47 +0000)
Originally committed as revision 6715 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/cabac.h
patch
|
blob
|
history
diff --git
a/libavcodec/cabac.h
b/libavcodec/cabac.h
index
55f6bf6
..
9e36dc4
100644
(file)
--- a/
libavcodec/cabac.h
+++ b/
libavcodec/cabac.h
@@
-460,7
+460,7
@@
static int always_inline get_cabac_inline(CABACContext *c, uint8_t * const state
"movl "LOW "(%2), %%ebx \n\t"
//eax:state ebx:low, edx:range, esi:RangeLPS
"subl %%esi, %%edx \n\t"
-#if
def CMOV_IS_FAST
+#if
(defined CMOV_IS_FAST && __CPU__ >= 686)
"movl %%edx, %%ecx \n\t"
"shl $17, %%edx \n\t"
"cmpl %%ebx, %%edx \n\t"