[Bug 1412] program is unable to play .avi file

Wine Bugs wine-bugs at winehq.com
Sat Jun 28 11:01:12 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1412





------- Additional Comments From z_god at wanadoo.nl  2003-28-06 11:01 -------
Bug comments restored from Gmane.org: 
 
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;  
    } 
 
 
------- Additional Comments From mike <at> theoretic.com  2003-04-25 03:23 ------- 
Cool, could you submit this as a patch to wine-patches? That'll make it easier 
to get into Wine CVS. 
 
 
------- Additional Comments From stanleyg76 <at> yahoo.com  2003-04-29 20:09 ------- 
Created an attachment (id=469)
 --> (http://bugs.winehq.com/attachment.cgi?id=469&action=view) 
diff to fix bug1412 
 
 
------- Additional Comments From fgouget <at> codeweavers.com  2003-05-04 21:03 
------- 
Moved from wine-multimedia to wine-patches (we really need a patch keyword). 

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list