[PATCH 0/1] MR9810: quartz: Take top-down RGB into account in is_nontrivial_rect().
From: Elizabeth Figura <zfigura@codeweavers.com> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=59158 --- dlls/quartz/avidec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/quartz/avidec.c b/dlls/quartz/avidec.c index daefb856f13..50d30e0881d 100644 --- a/dlls/quartz/avidec.c +++ b/dlls/quartz/avidec.c @@ -130,7 +130,7 @@ static int AVIDec_DropSample(struct avi_decompressor *This, REFERENCE_TIME tStar static bool is_nontrivial_rect(const BITMAPINFOHEADER *header, const RECT *rect) { return rect->left || rect->top || (rect->right && rect->right != header->biWidth) - || (rect->bottom && rect->bottom != header->biHeight); + || (rect->bottom && rect->bottom != abs(header->biHeight)); } static bool needs_decompressex(const AM_MEDIA_TYPE *mt) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9810
participants (2)
-
Elizabeth Figura -
Elizabeth Figura (@zfigura)