Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a35431a1
Commit
a35431a1
authored
Aug 17, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Aug 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Use memcmp instead of strncmp in MPEGSplitter_pre_connect.
header isn't a string and therefore using strncmp doesn't make sense.
parent
89b479c8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mpegsplit.c
dlls/quartz/mpegsplit.c
+1
-1
No files found.
dlls/quartz/mpegsplit.c
View file @
a35431a1
...
...
@@ -471,7 +471,7 @@ static HRESULT MPEGSplitter_pre_connect(IPin *iface, IPin *pConnectPin, ALLOCATO
pos
+=
4
;
/* Skip ID3 v2 tag, if any */
if
(
SUCCEEDED
(
hr
)
&&
!
strncmp
(
"ID3"
,
(
char
*
)
header
,
3
))
if
(
SUCCEEDED
(
hr
)
&&
!
memcmp
(
"ID3"
,
header
,
3
))
do
{
UINT
length
;
hr
=
IAsyncReader_SyncRead
(
pPin
->
pReader
,
pos
,
6
,
header
+
4
);
...
...
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