summaryrefslogtreecommitdiff
path: root/libavfilter/vf_deshake_opencl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_deshake_opencl.c')
-rw-r--r--libavfilter/vf_deshake_opencl.c2
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;