You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avutil/softfloat: Fix alternative implementation of av_normalize1_sf()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -70,7 +70,7 @@ static inline av_const SoftFloat av_normalize1_sf(SoftFloat a){
|
|||||||
int t= a.mant + 0x40000000 < 0;
|
int t= a.mant + 0x40000000 < 0;
|
||||||
return (SoftFloat){ a.mant>>t, a.exp+t};
|
return (SoftFloat){ a.mant>>t, a.exp+t};
|
||||||
#else
|
#else
|
||||||
int t= (a.mant + 0x40000000U)>>31;
|
int t= (a.mant + 0x3FFFFFFFU)>>31;
|
||||||
return (SoftFloat){a.mant>>t, a.exp+t};
|
return (SoftFloat){a.mant>>t, a.exp+t};
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user