[FFmpeg-devel] [PATCH 04/11] avformat/mov: use FFABS to instead of fabs

Michael Niedermayer michael at niedermayer.cc
Thu Nov 16 16:58:30 EET 2017


On Wed, Nov 15, 2017 at 03:44:11PM +0800, Steven Liu wrote:
> Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
> ---
>  libavformat/mov.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Iam not sure FFABS should be used with floats
the multiple evaluation in it can lead to interresting results
like FFABS() being slightly negative

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171116/1ef4d656/attachment.sig>


More information about the ffmpeg-devel mailing list