aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-25 00:26:51 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-27 00:46:35 +0100
commitb45e112bbdcc44a96907662136e49514a204543a (patch)
tree20f996b2103c005ff90d4d95018d8967add6a4e9
parent56b120630fd2cd39134fc25cb41caea0b620df7c (diff)
downloadffmpeg-b45e112bbdcc44a96907662136e49514a204543a.tar.gz
softfloat: decrease MIN_EXP to cover full float range
floats are not necessarily normalized, so a normalized softfloat needs MIN_EXP lowered by 23 to cover that range. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 2d6f46d801bab990b7e742b8a8e5c5b0cb70a80e) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-rw-r--r--libavutil/softfloat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h
index c7b5a780fe..1b590a9938 100644
--- a/libavutil/softfloat.h
+++ b/libavutil/softfloat.h
@@ -27,7 +27,7 @@
#include "avassert.h"
#include "softfloat_tables.h"
-#define MIN_EXP -126
+#define MIN_EXP -149
#define MAX_EXP 126
#define ONE_BITS 29