winegstreamer: set bmiHeader.biSizeImage in the transform filter

Dmitry Timoshkov dmitry at baikal.ru
Sun Jan 22 23:07:08 CST 2012


Aric Stewart <aric at codeweavers.com> wrote:

> +        vih->bmiHeader.biSizeImage = width * height * 3;
> +        if ((LONG)height < 0)
> +            vih->bmiHeader.biSizeImage = -1 * vih->bmiHeader.biSizeImage;

Using correct types from the start (instead of introducing ugly and wrong
workarounds) should help.

-- 
Dmitry.



More information about the wine-devel mailing list