[Bug 1412] New: - program is unable to play .avi file
wine-bugs at winehq.com
wine-bugs at winehq.com
Thu Apr 24 13:36:43 CDT 2003
http://bugs.winehq.com/show_bug.cgi?id=1412
Summary: program is unable to play .avi file
Product: Wine
Version: 20030318
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-multimedia
AssignedTo: wine-bugs at winehq.com
ReportedBy: stanleyg76 at yahoo.com
wine version: 20030408
- my application attempts to play an .avi file as part of its splashscreen (on startup).
It failed with the message 'Can't get AVI Codec'. After some tracing and looking
around, i made the following changes to get it to run:
a) in my system.ini file, there was only entry for 'VIDC.MRLD=msrle32.dll'
under drivers32 section, so I added another entry 'VIDC.MRLE=msrle32.dll'
(don't ask me why, i just noticed that it was looking for MRLE in the code). This
has changed my error message to 'Can't get output BIH'. So,
b) in $SRC/dlls/comctl32/animate.c, around line 659, you'll note a code
that does SendMessage(ICM_DECOMPRESS_GET_FORMAT); first time
to get the size of the buffer, and second time to actually get the buffer. Well,
the second time call will fail, since it will return the size of the buffer (just as it
did the first time), but the original code is checking the return against ICERR_OK.
I changed the check to the following (which fixed my problem):
if (fnIC.fnICSendMessage(infoPtr->hic, ICM_DECOMPRESS_GET_FORMAT,
(DWORD)infoPtr->inbih, (DWORD)infoPtr->outbih) != outSize) {
WARN("Can't get output BIH\n");
return FALSE;
}
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1412>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
More information about the wine-bugs
mailing list