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
fdfb8658
Commit
fdfb8658
authored
Aug 06, 2012
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Aug 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avifil32: Avoid TRUE:FALSE conditional expressions.
parent
af042f27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
api.c
dlls/avifil32/api.c
+1
-1
getframe.c
dlls/avifil32/getframe.c
+1
-2
No files found.
dlls/avifil32/api.c
View file @
fdfb8658
...
@@ -1244,7 +1244,7 @@ static BOOL AVISaveOptionsFmtChoose(HWND hWnd)
...
@@ -1244,7 +1244,7 @@ static BOOL AVISaveOptionsFmtChoose(HWND hWnd)
pOptions
->
dwFlags
|=
AVICOMPRESSF_VALID
;
pOptions
->
dwFlags
|=
AVICOMPRESSF_VALID
;
HeapFree
(
GetProcessHeap
(),
0
,
afmtc
.
pwfxEnum
);
HeapFree
(
GetProcessHeap
(),
0
,
afmtc
.
pwfxEnum
);
return
(
ret
==
S_OK
?
TRUE
:
FALSE
)
;
return
ret
==
S_OK
;
}
else
{
}
else
{
ERR
(
": unknown streamtype 0x%08X
\n
"
,
sInfo
.
fccType
);
ERR
(
": unknown streamtype 0x%08X
\n
"
,
sInfo
.
fccType
);
return
FALSE
;
return
FALSE
;
...
...
dlls/avifil32/getframe.c
View file @
fdfb8658
...
@@ -307,8 +307,7 @@ static HRESULT WINAPI IGetFrame_fnSetFormat(IGetFrame *iface,
...
@@ -307,8 +307,7 @@ static HRESULT WINAPI IGetFrame_fnSetFormat(IGetFrame *iface,
if
(
sInfo
.
fccType
!=
streamtypeVIDEO
)
if
(
sInfo
.
fccType
!=
streamtypeVIDEO
)
return
AVIERR_UNSUPPORTED
;
return
AVIERR_UNSUPPORTED
;
This
->
bFormatChanges
=
This
->
bFormatChanges
=
(
sInfo
.
dwFlags
&
AVISTREAMINFO_FORMATCHANGES
)
!=
0
;
(
sInfo
.
dwFlags
&
AVISTREAMINFO_FORMATCHANGES
?
TRUE
:
FALSE
);
This
->
dwFormatChangeCount
=
sInfo
.
dwFormatChangeCount
;
This
->
dwFormatChangeCount
=
sInfo
.
dwFormatChangeCount
;
This
->
dwEditCount
=
sInfo
.
dwEditCount
;
This
->
dwEditCount
=
sInfo
.
dwEditCount
;
This
->
lCurrentFrame
=
-
1
;
This
->
lCurrentFrame
=
-
1
;
...
...
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