From 26202583efa2ac1fa2387d4e9fc3b4134e9997a4 Mon Sep 17 00:00:00 2001 From: Dirk Farin Date: Thu, 30 Nov 2023 11:56:40 +0100 Subject: [PATCH] correct copy-paste typo (fixes #437) --- libde265/image.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libde265/image.cc b/libde265/image.cc index 4876b05b..0ae77511 100644 --- a/libde265/image.cc +++ b/libde265/image.cc @@ -334,7 +334,7 @@ de265_error de265_image::alloc_image(int w,int h, enum de265_chroma c, return DE265_ERROR_CODED_PARAMETER_OUT_OF_RANGE; } - if ((top+bottom)*WinUnitX >= height) { + if ((top+bottom)*WinUnitY >= height) { return DE265_ERROR_CODED_PARAMETER_OUT_OF_RANGE; }