diff --git a/thirdparty/misc/yuv2rgb.h b/thirdparty/misc/yuv2rgb.h index d8f7fd6de2d0..b6b6009e2caf 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;