Bug 1062277 - Ensure calls to IMFTransform::ProcessMessage() pass 64bit pointer values on 64bit builds. r=edwin

This commit is contained in:
Chris Pearce 2014-09-16 20:16:14 +12:00
parent 7f7ef76704
commit ec8ea23928
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ MFTDecoder::SetDecoderOutputType()
}
HRESULT
MFTDecoder::SendMFTMessage(MFT_MESSAGE_TYPE aMsg, UINT32 aData)
MFTDecoder::SendMFTMessage(MFT_MESSAGE_TYPE aMsg, ULONG_PTR aData)
{
NS_ENSURE_TRUE(mDecoder != nullptr, E_POINTER);
HRESULT hr = mDecoder->ProcessMessage(aMsg, aData);

View File

@ -74,7 +74,7 @@ public:
HRESULT Flush();
// Sends a message to the MFT.
HRESULT SendMFTMessage(MFT_MESSAGE_TYPE aMsg, UINT32 aData);
HRESULT SendMFTMessage(MFT_MESSAGE_TYPE aMsg, ULONG_PTR aData);
private: