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-25 22:22:15 +0100
commitad8203662613b4d0cb8342b267f748eeb0e968a0 (patch)
treee2492e9fd19f0085c31f7456a40f2733cc0bd336
parenta6a2d9d1e546ecb7a697cfbc9f392f577e4d868c (diff)
downloadffmpeg-ad8203662613b4d0cb8342b267f748eeb0e968a0.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 48d0d59fd4..fa91d1e1cb 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