quartz: Use memcmp instead of strncmp in MPEGSplitter_pre_connect.

header isn't a string and therefore using strncmp doesn't make sense.
This commit is contained in:
Rob Shearman 2008-08-17 18:33:17 +01:00 committed by Alexandre Julliard
parent 89b479c8ec
commit a35431a194
1 changed files with 1 additions and 1 deletions

View File

@ -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);