Commit 5ed20a74 authored by lance.lmwang@gmail.com's avatar lance.lmwang@gmail.com Committed by Limin Wang

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

Signed-off-by: 's avatarLimin Wang <lance.lmwang@gmail.com>
parent b1cc6b94
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment