OSDN Git Service

avutil/softfloat: use abort() instead of av_assert0(0)
authorJames Almer <jamrial@gmail.com>
Tue, 10 Nov 2015 02:16:17 +0000 (23:16 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 10 Nov 2015 16:37:24 +0000 (13:37 -0300)
Fixes compilation of host tool aacps_fixed_tablegen.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
libavutil/softfloat.h

index 5b285e3..7488753 100644 (file)
@@ -180,7 +180,7 @@ static av_always_inline SoftFloat av_sqrt_sf(SoftFloat val)
     if (val.mant == 0)
         val.exp = MIN_EXP;
     else if (val.mant < 0)
-        av_assert0(0);
+        abort();
     else
     {
         tabIndex = (val.mant - 0x20000000) >> 20;