[Bug 15915] cinepak codec reportedly not installed, FourCC case mismatch

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Nov 7 07:50:48 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=15915





--- Comment #2 from Jörg Höhle <hoehle at users.sourceforge.net>  2008-11-07 07:50:48 ---
Created an attachment (id=17128)
 --> (http://bugs.winehq.org/attachment.cgi?id=17128)
trace from ICOpen(VIDC,CVID) upto MessageBox(error)

>All the video codec drivers in Wine perform that check.
You mean other applications would have run into this case-sensitivity issue
long ago if it really were a problem area?

One difference that may affect "Die Völker" and not others might be how the
driver was registered, as ICOpen() contains three paths to open a driver
(omitting the 16 bit path):
        return MSVIDEO_OpenFunction(fccType, fccHandler, wMode, driver->proc,
0);
        hdrv = OpenDriver(codecname, drv32W, (LPARAM)&icopen);
        hdrv = OpenDriver(driver->name, NULL, (LPARAM)&icopen);

In the third case, OpenDriver() is called with the internally registered name
(in the driver structure): the supplied fccType is ignored after a
case-insensitive match, so no case mismatch can ever happen later. This
behaviour is different from the two other paths, which preserve the supplied
fccType.

Attached is a log snippet from the call to ICopen until the error message is
displayed, so as to hopefully be able to follow what happens.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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