From 4b6ad23609f4a70b562b8f83eb74bc9fd1e5950d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 8 Nov 2015 13:44:27 +0100 Subject: Revert "avutil/softfloat: Check for MIN_EXP in av_sqrt_sf()" This case should not be possible if the input has a exponent within the valid range This reverts commit 0269fb11e3de17375f86d9120599af8c87cdfa0a. --- libavutil/softfloat.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libavutil/softfloat.h') diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h index 023ccd0..5335669 100644 --- a/libavutil/softfloat.h +++ b/libavutil/softfloat.h @@ -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; -- cgit v1.1