aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-11-08 03:04:33 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-11-08 03:57:02 +0100
commita66b243d522344e12e3970e72e02183185a29ebe (patch)
treef295641835635ce97687dd1bbd8dd6a4f5b6549e
parent3d20f8e7c0e2887ad676c79a914e2c960cf2dcea (diff)
downloadffmpeg-a66b243d522344e12e3970e72e02183185a29ebe.tar.gz
avutil/softfloat: FLOAT_0 should use MIN_EXP
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavutil/softfloat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h
index 00ff4a1db1..3204fc9edd 100644
--- a/libavutil/softfloat.h
+++ b/libavutil/softfloat.h
@@ -36,7 +36,7 @@ typedef struct SoftFloat{
int32_t exp;
}SoftFloat;
-static const SoftFloat FLOAT_0 = { 0, 0};
+static const SoftFloat FLOAT_0 = { 0, MIN_EXP};
static const SoftFloat FLOAT_05 = { 0x20000000, 0};
static const SoftFloat FLOAT_1 = { 0x20000000, 1};
static const SoftFloat FLOAT_EPSILON = { 0x29F16B12, -16};