diff options
Diffstat (limited to 'libavfilter/vf_framerate.c')
-rw-r--r-- | libavfilter/vf_framerate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c index e8fba28..237a487 100644 --- a/libavfilter/vf_framerate.c +++ b/libavfilter/vf_framerate.c @@ -223,7 +223,7 @@ static int blend_frames16(AVFilterContext *ctx, float interpolate, } // decide if the shot-change detection allows us to blend two frames if (interpolate_scene_score < s->scene_score && copy_src2) { - uint16_t src2_factor = FFABS(interpolate) * (1 << (s->bitdepth - 8)); + uint16_t src2_factor = fabsf(interpolate) * (1 << (s->bitdepth - 8)); uint16_t src1_factor = s->max - src2_factor; const int half = s->max / 2; const int uv = (s->max + 1) * half; @@ -287,7 +287,7 @@ static int blend_frames8(AVFilterContext *ctx, float interpolate, } // decide if the shot-change detection allows us to blend two frames if (interpolate_scene_score < s->scene_score && copy_src2) { - uint16_t src2_factor = FFABS(interpolate); + uint16_t src2_factor = fabsf(interpolate); uint16_t src1_factor = 256 - src2_factor; int plane, line, pixel; |