diff options
author | Mark Thompson <sw@jkqxz.net> | 2019-09-29 17:46:03 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2020-02-09 20:36:45 +0000 |
commit | f130b221196cf82e19be78aa810125a41eb340fc (patch) | |
tree | 67a627b0832ee00e9e0d9ecf4677439b7bded620 | |
parent | e1b5620b62ef0e3d04a6c4f3d837328076ed2a9b (diff) | |
download | ffmpeg-f130b221196cf82e19be78aa810125a41eb340fc.tar.gz |
lavfi/vf_deshake_opencl: Avoid propagating uninitialised data
Fixes CID 1452753.
-rw-r--r-- | libavfilter/vf_deshake_opencl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/vf_deshake_opencl.c b/libavfilter/vf_deshake_opencl.c index c914a77d83..0ef015808f 100644 --- a/libavfilter/vf_deshake_opencl.c +++ b/libavfilter/vf_deshake_opencl.c @@ -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; |