Commit f130b221 authored by Mark Thompson's avatar Mark Thompson

lavfi/vf_deshake_opencl: Avoid propagating uninitialised data

Fixes CID 1452753.
parent e1b5620b
......@@ -757,6 +757,8 @@ static FrameDelta decompose_transform(double *model)
double f = model[5];
double delta = a * d - b * c;
memset(&ret, 0, sizeof(ret));
ret.translation.s[0] = e;
ret.translation.s[1] = f;
......
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