Nikolay Sivov : mfplat: Fix bpp for RGB24 format.

Alexandre Julliard julliard at winehq.org
Thu Mar 19 16:27:47 CDT 2020


Module: wine
Branch: master
Commit: 1d7c5308c6eb47380d96ae0160c3101f064d575b
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=1d7c5308c6eb47380d96ae0160c3101f064d575b

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Mar 19 15:07:38 2020 +0300

mfplat: Fix bpp for RGB24 format.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mfplat/mediatype.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/mfplat/mediatype.c b/dlls/mfplat/mediatype.c
index 77753cc499..5995454326 100644
--- a/dlls/mfplat/mediatype.c
+++ b/dlls/mfplat/mediatype.c
@@ -1782,7 +1782,7 @@ static int __cdecl uncompressed_video_format_compare(const void *a, const void *
 
 static const struct uncompressed_video_format video_formats[] =
 {
-    { &MFVideoFormat_RGB24,         3, 3, 1, 0 },
+    { &MFVideoFormat_RGB24,         4, 3, 1, 0 },
     { &MFVideoFormat_ARGB32,        4, 3, 1, 0 },
     { &MFVideoFormat_RGB32,         4, 3, 1, 0 },
     { &MFVideoFormat_RGB565,        2, 3, 1, 0 },




More information about the wine-cvs mailing list