mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
lavfi/vf_deshake_opencl: Avoid propagating uninitialised data
Fixes CID 1452753.
This commit is contained in:
parent
e1b5620b62
commit
f130b22119
@ -757,6 +757,8 @@ static FrameDelta decompose_transform(double *model)
|
|||||||
double f = model[5];
|
double f = model[5];
|
||||||
double delta = a * d - b * c;
|
double delta = a * d - b * c;
|
||||||
|
|
||||||
|
memset(&ret, 0, sizeof(ret));
|
||||||
|
|
||||||
ret.translation.s[0] = e;
|
ret.translation.s[0] = e;
|
||||||
ret.translation.s[1] = f;
|
ret.translation.s[1] = f;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user