Revert "avutil/softfloat: Check for MIN_EXP in av_sqrt_sf()"
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 8 Nov 2015 12:44:27 +0000 (13:44 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 8 Nov 2015 13:23:37 +0000 (14:23 +0100)
This case should not be possible if the input has a exponent within
the valid range

This reverts commit 0269fb11e3de17375f86d9120599af8c87cdfa0a.

libavutil/softfloat.h

index 023ccd0..5335669 100644 (file)
@@ -181,10 +181,6 @@ static av_always_inline SoftFloat av_sqrt_sf(SoftFloat val)
             val.mant >>= 1;
 
         val.exp = (val.exp >> 1) + 1;
-        if (val.exp < MIN_EXP) {
-            val.exp = MIN_EXP;
-            val.mant= 0;
-        }
     }
 
     return val;