提交 107db5ab 编写于 作者: M Michael Niedermayer

avutil/softfloat: Correctly set the exponent for 0.0 in av_sqrt_sf()

Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
上级 dcf1cf5d
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册