Browse Source

lavfi/select: 10l: llabs -> fabs after switching types.

tags/n1.0
Clément Bœsch 13 years ago
parent
commit
13a7bd70c8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_select.c

+ 1
- 1
libavfilter/vf_select.c View File

@@ -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);


Loading…
Cancel
Save