[FFmpeg-cvslog] avutil/softfloat: FLOAT_0 should use MIN_EXP

Michael Niedermayer git at videolan.org
Thu Nov 12 00:24:06 CET 2015


ffmpeg | branch: release/2.8 | Michael Niedermayer <michael at niedermayer.cc> | Sun Nov  8 03:04:33 2015 +0100| [efa91285566a0a9140e10163f0e349637860cf0a] | committer: Michael Niedermayer

avutil/softfloat: FLOAT_0 should use MIN_EXP

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit a66b243d522344e12e3970e72e02183185a29ebe)

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=efa91285566a0a9140e10163f0e349637860cf0a
---

 libavutil/softfloat.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h
index 00ff4a1..3204fc9 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};



More information about the ffmpeg-cvslog mailing list