[Bug 25180] Clonk Endeavour's intro video is not rendered correctly (iccvid does not support non-multiple of 4 video width)
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Apr 3 02:22:17 CDT 2016
https://bugs.winehq.org/show_bug.cgi?id=25180
--- Comment #15 from Bruno Jesus <00cpxxx at gmail.com> ---
Created attachment 54137
--> https://bugs.winehq.org/attachment.cgi?id=54137
hack
It is interesting that forcing 32 bpp would make the video work. The input
video is supposed to be 24 so I expected the output to be 24 too. The attached
hack makes it work as a simplified version of the msvfw patches.
This could actually explain why the calculation for biSizeImage is fixed *4
inside iccvid instead of using the bpp / 8.
844 if( out )
845 {
846 memcpy( out, in, size );
847 out->bmiHeader.biCompression = BI_RGB;
848 out->bmiHeader.biSizeImage = in->bmiHeader.biHeight
849 * in->bmiHeader.biWidth *4;
850 return ICERR_OK;
851 }
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list