diff options
author | Vardan Margaryan <v.t.margaryan@gmail.com> | 2022-05-23 19:06:16 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-06-06 09:51:17 +0200 |
commit | 73302aa193714958afb8262ceb14d9613e9df5ad (patch) | |
tree | 03c0d637bfac8c188686c5516602ae8ccb49e4f1 /libavfilter/vaf_spectrumsynth.c | |
parent | 72106d6cc310b33ffa5b18367772d74f327acd1e (diff) | |
download | ffmpeg-73302aa193714958afb8262ceb14d9613e9df5ad.tar.gz |
swscale/x86/yuv_2_rgb: fix access to memory past the frame data in yuv to rgb conversion
Y, U, V data is loaded at the end of the current iteration for the next
iteration.
It results in memory access past the frame data on the last iteration
(that data is never used after the loading).
So load data at the start of the iteration, so that only useful data is
loaded.
Signed-off-by: Vardan Margaryan <v.t.margaryan@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavfilter/vaf_spectrumsynth.c')
0 files changed, 0 insertions, 0 deletions