[host] fix compiler warnings
This commit is contained in:
1 parent
354bef94ee
commit
eba99f6968
2 files changed
+5
-5
No files matched your search
+1
-1
@@ -359,7 +359,7 @@ bool MFT::H264::GetFrame(void * buffer, const size_t bufferSize, unsigned int &
|
||||
outDataBuffer.pSample->ConvertToContiguousBuffer(&mb);
|
||||
|
||||
BYTE *pixels;
|
||||
DWORD maxLen, curLen;
|
||||
DWORD curLen;
|
||||
mb->Lock(&pixels, NULL, &curLen);
|
||||
memcpy(buffer, pixels, curLen);
|
||||
mb->Unlock();
|
||||
|
||||
Reference in new issue
Block a user