aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aarch64/vp8dsp.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-01-27 12:24:33 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-01-28 13:59:00 +0100
commit9267e2ff0d5b518bcce6236d09f2941b2c1bba84 (patch)
tree4b84be050d50ae2bea16346e7ea4e7ee915c59da /libavcodec/aarch64/vp8dsp.h
parenteccc7971c2eb2c4aca0fa321298d5e1957c0cb4c (diff)
downloadffmpeg-9267e2ff0d5b518bcce6236d09f2941b2c1bba84.tar.gz
avcodec/flashsv2enc: Fix use of uninitialized value
Before 257a83b969157eb76c18158a4e503e908d8b1125, certain buffers were zero-allocated in the init function and only reallocated lateron if they turned out to be too small; now they are only allocated during init, leading to use-of-uninitialized values lateron. The same could happen before if the dimensions are big enough so that the buffers would be reallocated, as the new part of the reallocated buffer would not be zeroed (happened for 960x960). So always zero the buffers in the function designed to init them. Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/aarch64/vp8dsp.h')
0 files changed, 0 insertions, 0 deletions