summaryrefslogtreecommitdiffstats
path: root/libavutil/softfloat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-11-08 13:44:27 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-11-08 14:23:37 +0100
commit4b6ad23609f4a70b562b8f83eb74bc9fd1e5950d (patch)
tree5d86e806b10b8448b1037622e04a2c2b1d5f3615 /libavutil/softfloat.h
parent0269fb11e3de17375f86d9120599af8c87cdfa0a (diff)
downloadffmpeg-streaming-4b6ad23609f4a70b562b8f83eb74bc9fd1e5950d.zip
ffmpeg-streaming-4b6ad23609f4a70b562b8f83eb74bc9fd1e5950d.tar.gz
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.
Diffstat (limited to 'libavutil/softfloat.h')
-rw-r--r--libavutil/softfloat.h4
1 files changed, 0 insertions, 4 deletions
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;
OpenPOWER on IntegriCloud