diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h index 3204fc9edd..53356697df 100644 --- a/libavutil/softfloat.h +++ b/libavutil/softfloat.h @@ -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;