mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +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:
parent
b1cc6b9496
commit
5ed20a74b7
@ -111,7 +111,7 @@ static float get_component(float v, float l,
|
|||||||
v += m;
|
v += m;
|
||||||
v += h;
|
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)
|
static float hfun(float n, float h, float s, float l)
|
||||||
|
Loading…
Reference in New Issue
Block a user