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-11 23:32:27 +0100
commitefa91285566a0a9140e10163f0e349637860cf0a (patch)
tree032814d97a38ed27afc599d02b465a3e896143d3
parent3de8521667e38613bc0214f8959665c87d471d49 (diff)
downloadffmpeg-efa91285566a0a9140e10163f0e349637860cf0a.tar.gz
avutil/softfloat: FLOAT_0 should use MIN_EXP
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit a66b243d522344e12e3970e72e02183185a29ebe) 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};