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
45177809
Commit
45177809
authored
Nov 13, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avifil32: Simplify the check for an empty string (PVS-Studio).
parent
6f959a91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
avifile.c
dlls/avifil32/avifile.c
+2
-2
No files found.
dlls/avifil32/avifile.c
View file @
45177809
...
...
@@ -1460,7 +1460,7 @@ static DWORD AVIFILE_ComputeMoviStart(IAVIFileImpl *This)
dwPos
+=
((
pStream
->
cbFormat
+
1
)
&
~
1U
);
if
(
pStream
->
lpHandlerData
!=
NULL
&&
pStream
->
cbHandlerData
>
0
)
dwPos
+=
2
*
sizeof
(
DWORD
)
+
((
pStream
->
cbHandlerData
+
1
)
&
~
1U
);
if
(
lstrlenW
(
pStream
->
sInfo
.
szName
)
>
0
)
if
(
pStream
->
sInfo
.
szName
[
0
]
)
dwPos
+=
2
*
sizeof
(
DWORD
)
+
((
lstrlenW
(
pStream
->
sInfo
.
szName
)
+
1
)
&
~
1U
);
}
...
...
@@ -2219,7 +2219,7 @@ static HRESULT AVIFILE_SaveFile(IAVIFileImpl *This)
}
/* ... an optional name for this stream ... */
if
(
lstrlenW
(
pStream
->
sInfo
.
szName
)
>
0
)
{
if
(
pStream
->
sInfo
.
szName
[
0
]
)
{
LPSTR
str
;
ck
.
ckid
=
ckidSTREAMNAME
;
...
...
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