You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Fix crash with illegal instruction, cmov is available on 686 and later only.
Originally committed as revision 6715 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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"
|
||||
#ifdef 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"
|
||||
|
Reference in New Issue
Block a user