Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
0a1a5015
Commit
0a1a5015
authored
Mar 06, 2023
by
Anton Baskanov
Committed by
Alexandre Julliard
Mar 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ir50_32: Handle 24-bit output media type.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=47407
parent
a20e1df9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ir50.c
dlls/ir50_32/ir50.c
+3
-1
No files found.
dlls/ir50_32/ir50.c
View file @
0a1a5015
...
...
@@ -95,7 +95,7 @@ IV50_DecompressQuery( LPBITMAPINFO in, LPBITMAPINFO out )
return
ICERR_BADFORMAT
;
}
if
(
out
->
bmiHeader
.
biBitCount
!=
32
&&
out
->
bmiHeader
.
biBitCount
!=
16
)
if
(
out
->
bmiHeader
.
biBitCount
!=
32
&&
out
->
bmiHeader
.
biBitCount
!=
24
&&
out
->
bmiHeader
.
biBitCount
!=
16
)
{
TRACE
(
"incompatible depth requested
\n
"
);
return
ICERR_BADFORMAT
;
...
...
@@ -153,6 +153,8 @@ static LRESULT IV50_DecompressBegin( IMFTransform *decoder, LPBITMAPINFO in, LPB
if
(
out
->
bmiHeader
.
biBitCount
==
32
)
output_subtype
=
&
MFVideoFormat_RGB32
;
else
if
(
out
->
bmiHeader
.
biBitCount
==
24
)
output_subtype
=
&
MFVideoFormat_RGB24
;
else
if
(
out
->
bmiHeader
.
biBitCount
==
16
)
output_subtype
=
&
MFVideoFormat_RGB555
;
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment