[Bug 41171] Segfault on cinepak movie playback in War Wind

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Aug 19 12:27:49 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=41171

Bruno Jesus <00cpxxx at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #4 from Bruno Jesus <00cpxxx at gmail.com> ---
Although I cannot confirm the crash I can see 2 problems:
1 - Wine iccvid does not support 8 bit stream decoding;
2 - Wine iccvid does not support GET PALETTE.

The game skips DECOMPRESS_QUERY and jumps directly to DECOMPRESS_BEGIN, this is
the output with native iccvid (which works and displays video correctly):

ICOpen (vidc,cvid,0x00000002)
ICOpen => 0x1
MSVIDEO_SendMessage (0x8fb188,ICM_DECOMPRESS_GET_PALETTE,0x003500e8,0x00350118)
MSVIDEO_SendMessage       -> ICERR_OK
MSVIDEO_SendMessage (0x8fb188,ICM_DECOMPRESS_BEGIN,0x003500e8,0x00350118)
MSVIDEO_SendMessage       -> ICERR_OK
MSVIDEO_SendMessage (0x8fb188,ICM_DECOMPRESSEX,0x0032f838,0x00000034)
MSVIDEO_SendMessage       -> ICERR_OK
...

This is with wine:

ICOpen (vidc,cvid,0x00000002)
ICOpen => 0x1
MSVIDEO_SendMessage (0x8fb0b8,ICM_DECOMPRESS_GET_PALETTE,0x003500e8,0x00350118)
MSVIDEO_SendMessage       -> ICERR_UNSUPPORTED
MSVIDEO_SendMessage (0x8fb0b8,ICM_DECOMPRESS_BEGIN,0x003500e8,0x00350118)
MSVIDEO_SendMessage       -> ICERR_OK
MSVIDEO_SendMessage (0x8fb0b8,ICM_DECOMPRESSEX,0x0032f838,0x00000034)
MSVIDEO_SendMessage       -> ICERR_OK
...

The decompress function blindly attempts to decompress the data because it
defaults to 24 bit decoding (remainder to remove the variable initialization
and add a default case in the select to return error).

-- 
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