Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
f560c71c
Commit
f560c71c
authored
Apr 05, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 05, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fallback to a compression scheme specified in the stream format in the
case FOURCC handler does not exist or format is not supported.
parent
65c7aa99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
mmoutput.c
dlls/winmm/mciavi/mmoutput.c
+8
-11
No files found.
dlls/winmm/mciavi/mmoutput.c
View file @
f560c71c
...
...
@@ -426,23 +426,20 @@ BOOL MCIAVI_OpenVideo(WINE_MCIAVI* wma)
wma
->
dwCachedFrame
=
-
1
;
/* check for builtin DIB compressions */
if
((
fcc
==
mmioFOURCC
(
'D'
,
'I'
,
'B'
,
' '
))
||
(
fcc
==
mmioFOURCC
(
'R'
,
'L'
,
'E'
,
' '
))
||
(
fcc
==
BI_RGB
)
||
(
fcc
==
BI_RLE8
)
||
(
fcc
==
BI_RLE4
)
||
(
fcc
==
BI_BITFIELDS
))
{
wma
->
hic
=
0
;
goto
paint_frame
;
}
/* get the right handle */
if
(
fcc
==
0
)
fcc
=
wma
->
inbih
->
biCompression
;
if
(
fcc
==
mmioFOURCC
(
'C'
,
'R'
,
'A'
,
'M'
))
fcc
=
mmioFOURCC
(
'M'
,
'S'
,
'V'
,
'C'
);
/* try to get a decompressor for that type */
wma
->
hic
=
ICLocate
(
ICTYPE_VIDEO
,
fcc
,
wma
->
inbih
,
NULL
,
ICMODE_DECOMPRESS
);
if
(
!
wma
->
hic
)
{
/* check for builtin DIB compressions */
fcc
=
wma
->
inbih
->
biCompression
;
if
((
fcc
==
mmioFOURCC
(
'D'
,
'I'
,
'B'
,
' '
))
||
(
fcc
==
mmioFOURCC
(
'R'
,
'L'
,
'E'
,
' '
))
||
(
fcc
==
BI_RGB
)
||
(
fcc
==
BI_RLE8
)
||
(
fcc
==
BI_RLE4
)
||
(
fcc
==
BI_BITFIELDS
))
goto
paint_frame
;
WARN
(
"Can't locate codec for the file
\n
"
);
return
FALSE
;
}
...
...
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