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

2017-11-16 Thread Michael Niedermayer
On Wed, Nov 15, 2017 at 03:44:11PM +0800, Steven Liu wrote: > Signed-off-by: Steven Liu > --- > 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() bein

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

2017-11-14 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index fd170baa57..e1a3e21e8d 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -4332,7 +4332,7 @@ static int mov_read_tkhd(MOVContext *