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
17176282
Commit
17176282
authored
Sep 30, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Sep 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avifil32: Fix type of variable used to store the result of ICCompress in AVIFILE_EncodeFrame.
(Found by PreFast.)
parent
a4b2a2c3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
icmstream.c
dlls/avifil32/icmstream.c
+4
-4
No files found.
dlls/avifil32/icmstream.c
View file @
17176282
...
@@ -821,14 +821,14 @@ static HRESULT AVIFILE_EncodeFrame(IAVIStreamImpl *This,
...
@@ -821,14 +821,14 @@ static HRESULT AVIFILE_EncodeFrame(IAVIStreamImpl *This,
do
{
do
{
DWORD
idxCkid
=
0
;
DWORD
idxCkid
=
0
;
HRESULT
hr
;
DWORD
res
;
hr
=
ICCompress
(
This
->
hic
,
icmFlags
,
This
->
lpbiCur
,
This
->
lpCur
,
lpbi
,
lpBits
,
res
=
ICCompress
(
This
->
hic
,
icmFlags
,
This
->
lpbiCur
,
This
->
lpCur
,
lpbi
,
lpBits
,
&
idxCkid
,
&
idxFlags
,
This
->
lCurrent
,
dwRequest
,
dwCurQual
,
&
idxCkid
,
&
idxFlags
,
This
->
lCurrent
,
dwRequest
,
dwCurQual
,
noPrev
?
NULL
:
This
->
lpbiPrev
,
noPrev
?
NULL
:
This
->
lpPrev
);
noPrev
?
NULL
:
This
->
lpbiPrev
,
noPrev
?
NULL
:
This
->
lpPrev
);
if
(
hr
==
ICERR_NEWPALETTE
)
{
if
(
res
==
ICERR_NEWPALETTE
)
{
FIXME
(
": codec has changed palette -- unhandled!
\n
"
);
FIXME
(
": codec has changed palette -- unhandled!
\n
"
);
}
else
if
(
hr
!=
ICERR_OK
)
}
else
if
(
res
!=
ICERR_OK
)
return
AVIERR_COMPRESSOR
;
return
AVIERR_COMPRESSOR
;
/* need to check for framesize */
/* need to check for framesize */
...
...
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