From d0ad12e33df7847ff137e1497bac4b4de1c3a694 Mon Sep 17 00:00:00 2001 From: Bernat Arlandis Date: Fri, 14 Feb 2025 15:35:18 +0100 Subject: [PATCH] Theora: fix YUV422/444 to RGB. Fixes #87705 The last line wasn't being converted thus was missing in the resulting frame. --- thirdparty/misc/yuv2rgb.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/thirdparty/misc/yuv2rgb.h b/thirdparty/misc/yuv2rgb.h index d8f7fd6de2d..b6b6009e2ca 100644 --- a/thirdparty/misc/yuv2rgb.h +++ b/thirdparty/misc/yuv2rgb.h @@ -848,7 +848,6 @@ static void yuv422_2_rgb8888(uint8_t *dst_ptr, int32_t uv_span, int32_t dst_span) { - height -= 1; while (height > 0) { height -= width<<16; @@ -1020,7 +1019,6 @@ static void yuv444_2_rgb8888(uint8_t *dst_ptr, int32_t uv_span, int32_t dst_span) { - height -= 1; while (height > 0) { height -= width<<16;