Accept all standard DIB compressions in the mciavi driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Changelog:
    Dmitry Timoshkov <dmitry@xxxxxxxxxxxxxxx>
    Accept all standard DIB compressions in the mciavi driver.

--- cvs/hq/wine/dlls/winmm/mciavi/mmoutput.c    2004-01-05 16:06:09.000000000 +0800
+++ wine/dlls/winmm/mciavi/mmoutput.c   2004-01-05 16:16:37.000000000 +0800
@@ -368,9 +368,12 @@ BOOL    MCIAVI_OpenVideo(WINE_MCIAVI* wm
 
     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;





[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux