diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-05 17:39:42 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-05 17:40:16 +0200 |
commit | af8d63e756e636649b1e4378b54617a8d90d0f7f (patch) | |
tree | 299518fb9a6d149fa224a13ab1a801f10ead9053 /libavutil | |
parent | 6690ca22b36ea811cd902145d2fdb891b5e3989e (diff) | |
download | ffmpeg-af8d63e756e636649b1e4378b54617a8d90d0f7f.tar.gz |
avutil/softfloat: Fix alternative implementation of av_normalize1_sf()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/softfloat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h index bf511b5cc0..392b6d814c 100644 --- a/libavutil/softfloat.h +++ b/libavutil/softfloat.h @@ -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 } |