Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/ccap_imp_windows_msmf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
#include <mfreadwrite.h>
#include <vector>

#if defined(__MINGW32__) && (!defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 10)
// mingw-w64 < 10.0.0 omits this declaration from mfidl.h, but mf.lib still exports it.
extern "C" HRESULT WINAPI MFCreateDeviceSource(IMFAttributes* attributes, IMFMediaSource** source);
#endif

namespace {

template <typename T>
Expand Down
Loading