Browse code

avutil/softfloat: use abort() instead of av_assert0(0)

Fixes compilation of host tool aacps_fixed_tablegen.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 9f4a41bf991916e105be9d78ed38612d3ffa4881)

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

James Almer authored on 2015/11/10 11:16:17
Showing 1 changed files
... ...
@@ -180,7 +180,7 @@ static av_always_inline SoftFloat av_sqrt_sf(SoftFloat val)
180 180
     if (val.mant == 0)
181 181
         val.exp = MIN_EXP;
182 182
     else if (val.mant < 0)
183
-        av_assert0(0);
183
+        abort();
184 184
     else
185 185
     {
186 186
         tabIndex = (val.mant - 0x20000000) >> 20;