avutil/softfloat: Fix alternative implementation of av_normalize1_sf()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-06-05 17:39:42 +02:00
parent 6690ca22b3
commit af8d63e756

View File

@ -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
}