Files
Niklas Haas 7ee2f9004b swscale/alphablend: don't overread alpha plane on subsampled odd size
This function overreads the input plane for odd dimensions, because the
chroma plane is always rounded up, which means (xy << subsample) + 1 exceeds
the actual alpha plane size.

To verify:
  valgrind ffmpeg -pix_fmt yuva420p -f lavfi -i color -vf \
  "scale=1x1,format=yuva420p,scale=alphablend=uniform_color,format=yuv420p \
  -vframes 1 -f null -

Fixes: https://trac.ffmpeg.org/ticket/11692
(cherry picked from commit b7946098b1)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 2a1d9c080f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-06-21 02:56:26 +02:00
..
2025-12-03 20:26:49 +01:00
2022-01-04 19:39:22 -06:00
2025-12-03 20:26:49 +01:00
2026-05-05 15:21:10 +02:00
2022-03-16 14:05:26 +02:00
2022-07-13 00:27:37 +02:00
2025-12-03 20:26:49 +01:00