summaryrefslogtreecommitdiffstats
path: root/libavutil/softfloat.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-11-09 23:16:17 -0300
committerJames Almer <jamrial@gmail.com>2015-11-10 13:37:24 -0300
commit9f4a41bf991916e105be9d78ed38612d3ffa4881 (patch)
tree83b633e5c5986c1f9a2f9a1643272fd347815a7e /libavutil/softfloat.h
parent6e3244fb09f22d019906f3029d86a483179c55ec (diff)
downloadffmpeg-streaming-9f4a41bf991916e105be9d78ed38612d3ffa4881.zip
ffmpeg-streaming-9f4a41bf991916e105be9d78ed38612d3ffa4881.tar.gz
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>
Diffstat (limited to 'libavutil/softfloat.h')
-rw-r--r--libavutil/softfloat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h
index 5b285e3..7488753 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;
OpenPOWER on IntegriCloud