Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_select.c b/libavfilter/vf_select.c
index d0c150562d..0c1b5091e6 100644
--- a/libavfilter/vf_select.c
+++ b/libavfilter/vf_select.c
@@ -207,7 +207,7 @@ static double get_scene_score(AVFilterContext *ctx, AVFilterBufferRef *picref)
linesize, 8);
emms_c();
mafd = sad / (picref->video->h * picref->video->w * 3);
- diff = llabs(mafd - select->prev_mafd);
+ diff = fabs(mafd - select->prev_mafd);
ret = av_clipf(FFMIN(mafd, diff) / 100., 0, 1);
select->prev_mafd = mafd;
avfilter_unref_buffer(prev_picref);