1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avfilter/vf_colorbalance:: Fix for framecrc bitexact for 32bit and 64bit system

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
lance.lmwang@gmail.com 2019-11-15 23:12:48 +08:00 committed by Limin Wang
parent b1cc6b9496
commit 5ed20a74b7

View File

@ -111,7 +111,7 @@ static float get_component(float v, float l,
v += m;
v += h;
return av_clipf(v, 0, 1);
return av_clipf(v + 0.5f, 0, 1);
}
static float hfun(float n, float h, float s, float l)