mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
avutil/softfloat: Fix thresholds in av_normalize_sf()
Found-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c93602ae5b
commit
c7ce16e716
@ -39,7 +39,7 @@ typedef struct SoftFloat{
|
||||
static av_const SoftFloat av_normalize_sf(SoftFloat a){
|
||||
if(a.mant){
|
||||
#if 1
|
||||
while((a.mant + 0x20000000U)<0x40000000U){
|
||||
while((a.mant + 0x1FFFFFFFU)<0x3FFFFFFFU){
|
||||
a.mant += a.mant;
|
||||
a.exp -= 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user