[FFmpeg-cvslog] avutil/softfloat: use abort() instead of av_assert0(0)

James Almer git at videolan.org
Tue Nov 10 17:38:18 CET 2015


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Nov  9 23:16:17 2015 -0300| [9f4a41bf991916e105be9d78ed38612d3ffa4881] | committer: James Almer

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

Fixes compilation of host tool aacps_fixed_tablegen.

Reviewed-by: Michael Niedermayer <michael at niedermayer.cc>
Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavutil/softfloat.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;



More information about the ffmpeg-cvslog mailing list