1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00

Bug 2029291.

This commit is contained in:
Timothy Nikkel
2026-04-25 16:31:01 +02:00
committed by roytam1
parent 5858cd226c
commit 5a065b86fc
+2 -1
View File
@@ -14,6 +14,7 @@
#include "libyuv/convert_argb.h"
#include "libyuv/scale.h"
#include <algorithm>
#include <assert.h>
#include <string.h>
@@ -959,7 +960,7 @@ static void YUVToARGBCopy(const uint8_t* src_y, int src_stride_y,
mozilla::ColorRange color_range)
{
YUVBuferIter iter;
iter.src_width = src_width;
iter.src_width = std::min(src_width, dst_width);
iter.src_height = src_height;
iter.src_stride_y = src_stride_y;
iter.src_stride_u = src_stride_u;