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

Michael Niedermayer git at videolan.org
Sun Nov 8 11:03:30 CET 2015


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

avutil/softfloat: FLOAT_0 should use MIN_EXP

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

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

 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