[FFmpeg-devel] [PATCH] avutil/eval: add sgn()
Carl Eugen Hoyos
ceffmpeg at gmail.com
Sat Oct 12 18:36:53 EEST 2019
> Am 12.10.2019 um 11:42 schrieb James Darnley <james.darnley at gmail.com>:
>
>> On 2019-10-11 21:45, Paul B Mahol wrote:
>>
>> diff --git a/doc/utils.texi b/doc/utils.texi
>> index d55dd315c3..4e2e713505 100644
>> --- a/doc/utils.texi
>> +++ b/doc/utils.texi
>> @@ -920,6 +920,9 @@ corresponding input value will be returned.
>> @item round(expr)
>> Round the value of expression @var{expr} to the nearest integer. For example, "round(1.5)" is "2.0".
>>
>> + at item sgn(x)
>> +Compute sign of @var{x}.
>> +
>> @item sin(x)
>> Compute sine of @var{x}.
>>
>
> Too late now but, since we have round() just above it which is 5 chars,
> couldn't you have made this sign()?
It’s not too late if we agree that it should be changed (sounds good to me).
Carl Eugen
More information about the ffmpeg-devel
mailing list