Commit a455dd53 authored by Anton Baskanov's avatar Anton Baskanov Committed by Alexandre Julliard

winegstreamer: Fix negative height image size calculation.

Fixes intro video playback in multiple games (e.g. Earth 2150).
parent a19c1ff1
......@@ -286,7 +286,7 @@ unsigned int wg_format_get_max_size(const struct wg_format *format)
{
case WG_MAJOR_TYPE_VIDEO:
{
unsigned int width = format->u.video.width, height = format->u.video.height;
unsigned int width = format->u.video.width, height = abs(format->u.video.height);
switch (format->u.video.format)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment