You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avutil/softfloat: Correctly set the exponent for 0.0 in av_sqrt_sf()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -163,7 +163,7 @@ static av_always_inline SoftFloat av_sqrt_sf(SoftFloat val)
|
||||
int tabIndex, rem;
|
||||
|
||||
if (val.mant == 0)
|
||||
val.exp = 0;
|
||||
val.exp = MIN_EXP;
|
||||
else
|
||||
{
|
||||
tabIndex = (val.mant - 0x20000000) >> 20;
|
||||
|
Reference in New Issue
Block a user