aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_xfade_opencl.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2021-09-12 15:14:31 +0200
committerJames Almer <jamrial@gmail.com>2021-09-12 11:07:40 -0300
commit52c35d648c29bc5f11372740d89e418e297ecd82 (patch)
treef179d6472adfd4e9134ed1caa1cb9743df45c25d /libavfilter/vf_xfade_opencl.c
parentc4973e2148b03210c887496aa2b2ffd8b1ab6319 (diff)
downloadffmpeg-52c35d648c29bc5f11372740d89e418e297ecd82.tar.gz
avcodec/h274: don't read from uninitialized array members
This bug flew under the radar because, in practice, these values are 0-initialized for the first invocation. But for subsequent invocations (with different h/v values), reading from the uninitialized parts of `out` is undefined behavior. Avoid this by simply adjusting the iteration range of the following loops. Has the added benefit of being a minor speedup. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/vf_xfade_opencl.c')
0 files changed, 0 insertions, 0 deletions