From efa91285566a0a9140e10163f0e349637860cf0a Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 8 Nov 2015 03:04:33 +0100 Subject: [PATCH] avutil/softfloat: FLOAT_0 should use MIN_EXP Signed-off-by: Michael Niedermayer (cherry picked from commit a66b243d522344e12e3970e72e02183185a29ebe) Signed-off-by: Michael Niedermayer --- libavutil/softfloat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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};