mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 09:59:50 +00:00
avutil/softfloat: Fix alternative implementation of av_normalize1_sf()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6690ca22b3
commit
af8d63e756
@ -70,7 +70,7 @@ static inline av_const SoftFloat av_normalize1_sf(SoftFloat a){
|
||||
int t= a.mant + 0x40000000 < 0;
|
||||
return (SoftFloat){ a.mant>>t, a.exp+t};
|
||||
#else
|
||||
int t= (a.mant + 0x40000000U)>>31;
|
||||
int t= (a.mant + 0x3FFFFFFFU)>>31;
|
||||
return (SoftFloat){a.mant>>t, a.exp+t};
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user