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

James Almer git at videolan.org
Fri Nov 27 15:17:02 CET 2015


ffmpeg | branch: release/2.8 | James Almer <jamrial at gmail.com> | Mon Nov  9 23:16:17 2015 -0300| [644296e736ee219cd02f7b7d7b7b4c7c5a464217] | committer: Michael Niedermayer

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>
(cherry picked from commit 9f4a41bf991916e105be9d78ed38612d3ffa4881)

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

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

 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