In some situations, frei0r_cairo_unpremultiply_rgba returned out of bound values, resulting in image corruption reported in kdenlive issue 361163:
https://bugs.kde.org/show_bug.cgi?id=361163
This patch fixes the problem by checking maximum return value
In some situations, frei0r_cairo_unpremultiply_rgba returned out of bound values, resulting in image corruption reported in kdenlive issue 361163: https://bugs.kde.org/show_bug.cgi?id=361163
This patch fixes the problem by checking maximum return value