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
6178e86a
Commit
6178e86a
authored
May 18, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
May 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avifil32: Remove some redundant "not NULL" checks (coccicheck).
parent
989e9820
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
api.c
dlls/avifil32/api.c
+3
-3
No files found.
dlls/avifil32/api.c
View file @
6178e86a
...
...
@@ -1447,7 +1447,7 @@ BOOL WINAPI AVISaveOptions(HWND hWnd, UINT uFlags, INT nStreams,
return
AVIERR_BADPARAM
;
/* save options in case the user presses cancel */
if
(
ppOptions
!=
NULL
&&
nStreams
>
1
)
{
if
(
nStreams
>
1
)
{
pSavedOptions
=
HeapAlloc
(
GetProcessHeap
(),
0
,
nStreams
*
sizeof
(
AVICOMPRESSOPTIONS
));
if
(
pSavedOptions
==
NULL
)
return
FALSE
;
...
...
@@ -1629,7 +1629,7 @@ HRESULT WINAPI AVISaveVW(LPCWSTR szFile, CLSID *pclsidHandler,
/* remember first video stream -- needed for interleaving */
if
(
lFirstVideo
<
0
)
lFirstVideo
=
curStream
;
}
else
if
(
!
dwInterleave
&&
plpOptions
!=
NULL
)
{
}
else
if
(
!
dwInterleave
)
{
/* check if any non-video stream wants to be interleaved */
WARN
(
"options.flags=0x%X options.dwInterleave=%u
\n
"
,
plpOptions
[
curStream
]
->
dwFlags
,
plpOptions
[
curStream
]
->
dwInterleaveEvery
);
if
(
plpOptions
[
curStream
]
!=
NULL
&&
...
...
@@ -1639,7 +1639,7 @@ HRESULT WINAPI AVISaveVW(LPCWSTR szFile, CLSID *pclsidHandler,
/* create de-/compressed stream interface if needed */
pInStreams
[
curStream
]
=
NULL
;
if
(
plpOptions
!=
NULL
&&
plpOptions
[
curStream
]
!=
NULL
)
{
if
(
plpOptions
[
curStream
]
!=
NULL
)
{
if
(
plpOptions
[
curStream
]
->
fccHandler
||
plpOptions
[
curStream
]
->
lpFormat
!=
NULL
)
{
DWORD
dwKeySave
=
plpOptions
[
curStream
]
->
dwKeyFrameEvery
;
...
...
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