From 9f4a41bf991916e105be9d78ed38612d3ffa4881 Mon Sep 17 00:00:00 2001 From: James Almer Date: Mon, 9 Nov 2015 23:16:17 -0300 Subject: [PATCH] avutil/softfloat: use abort() instead of av_assert0(0) Fixes compilation of host tool aacps_fixed_tablegen. Reviewed-by: Michael Niedermayer Signed-off-by: James Almer --- libavutil/softfloat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h index 5b285e3d9b..7488753d64 100644 --- a/libavutil/softfloat.h +++ b/libavutil/softfloat.h @@ -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;