Browse Source

lavfi/vf_deshake_opencl: Avoid propagating uninitialised data

Fixes CID 1452753.
tags/n4.3
Mark Thompson 6 years ago
parent
commit
f130b22119
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavfilter/vf_deshake_opencl.c

+ 2
- 0
libavfilter/vf_deshake_opencl.c View File

@@ -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;



Loading…
Cancel
Save