diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-06-05 00:17:38 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-06-05 00:17:38 +0200 |
commit | 13a7bd70c8d94c5a46c14e7ac23a170b77eff52e (patch) | |
tree | 87403034ea960df80ba7a9ae5997f82c3be130ce /libavfilter | |
parent | 9c4821ca7b4894e2b04c18d777ff499d847e51ba (diff) | |
download | ffmpeg-streaming-13a7bd70c8d94c5a46c14e7ac23a170b77eff52e.zip ffmpeg-streaming-13a7bd70c8d94c5a46c14e7ac23a170b77eff52e.tar.gz |
lavfi/select: 10l: llabs -> fabs after switching types.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_select.c b/libavfilter/vf_select.c index d0c1505..0c1b509 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); |