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

James Almer jamrial at gmail.com
Tue Nov 10 22:16:30 CET 2015


On 11/10/2015 9:51 AM, Michael Niedermayer wrote:
> On Mon, Nov 09, 2015 at 11:17:52PM -0300, James Almer wrote:
>> Fixes compilation of host tool aacps_fixed_tablegen.
>>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>> See http://fate.ffmpeg.org/report.cgi?time=20151108011316&slot=x86_64-openbsd5.6-gcc4.2-conf2
>>
>>  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
> 
> LGTM

Pushed, thanks.



More information about the ffmpeg-devel mailing list