From 6e8f8563f4e4e6ff04b632aff8d6ae95de945649 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 15 Dec 2025 01:39:56 +0100 Subject: Fix artefacts on the edge of YUV images with odd widths (#3119). This also modifies an existing test to expose the bug. --- test/image_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/image_test.cc b/test/image_test.cc index 8d19c631e..aa3baeb4f 100644 --- a/test/image_test.cc +++ b/test/image_test.cc @@ -217,7 +217,7 @@ alpha_blend_test_rgba64be_onto(AVPixelFormat format, string suffix) for (int y = 256; y < 384; ++y) { auto p = reinterpret_cast(overlay->data()[0] + y * overlay->stride()[0]); - for (int x = 0; x < 128; ++x) { + for (int x = 0; x < 431; ++x) { p[x * 4 + 2] = 65535; p[x * 4 + 3] = 65535; } -- cgit v1.2.3