Skip to content

Commit

Permalink
Fix another potential type ambiguity in sample
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoAdonis committed Jan 16, 2025
1 parent 56fc6c5 commit 8b2cffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avstream/sampledevicemft/SampleSocDeviceMFTutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ HRESULT CreateDecoderFromLuid( _In_ LUID ullAdapterLuidRunningOn,
DMFTCHECKHR_GOTO(pOutputType->GetGUID(MF_MT_SUBTYPE, &OutputType.guidSubtype), done);

DMFTCHECKHR_GOTO(MFCreateAttributes(&spAttribs, 1), done);
DMFTCHECKHR_GOTO(spAttribs->SetBlob(MFT_ENUM_ADAPTER_LUID, (byte*)&ullAdapterLuidRunningOn, sizeof(ullAdapterLuidRunningOn)), done);
DMFTCHECKHR_GOTO(spAttribs->SetBlob(MFT_ENUM_ADAPTER_LUID, (BYTE*)&ullAdapterLuidRunningOn, sizeof(ullAdapterLuidRunningOn)), done);
DMFTCHECKHR_GOTO(MFTEnum2(MFT_CATEGORY_VIDEO_DECODER, dwFlags, &InputType, &OutputType, spAttribs.Get(), &ppActivates, &cMFTActivate), done);

for (DWORD i = 0; i < cMFTActivate; i++)
Expand Down

0 comments on commit 8b2cffe

Please sign in to comment.