Accept all standard DIB compressions in the mciavi driver.

This commit is contained in:
Dmitry Timoshkov 2004-01-05 23:07:27 +00:00 committed by Alexandre Julliard
parent 7412125e46
commit a938cbeb73
1 changed files with 5 additions and 2 deletions

View File

@ -411,9 +411,12 @@ BOOL MCIAVI_OpenVideo(WINE_MCIAVI* wma)
TRACE("fcc %4.4s\n", (LPSTR)&fcc);
/* check uncompressed AVI */
/* check for builtin DIB compressions */
if ((fcc == mmioFOURCC('D','I','B',' ')) ||
(fcc == mmioFOURCC('R','L','E',' '))) {
(fcc == mmioFOURCC('R','L','E',' ')) ||
(fcc == BI_RGB) || (fcc == BI_RLE8) ||
(fcc == BI_RLE4) || (fcc == BI_BITFIELDS))
{
wma->hic = 0;
MCIAVI_DrawFrame(wma);
return TRUE;