]> git.sesse.net Git - ffmpeg/commit
mfenc: Fix building with clang in MSVC mode
authorMartin Storsjö <martin@martin.st>
Sat, 23 May 2020 18:14:40 +0000 (21:14 +0300)
committerMartin Storsjö <martin@martin.st>
Sat, 23 May 2020 18:17:55 +0000 (21:17 +0300)
commit2a1fd3c84ef9b5d1daf32fd3cbfebff3c5996ef4
tree548faf144ac62ab17a2ae9f3ffe17035c29c80f1
parent727cac88b8c4b1facd93a3c863ef7e7072feda36
mfenc: Fix building with clang in MSVC mode

Just including icodecapi.h + codecapi.h apparently misses some bits,
that MSVC doesn't complain about, but Clang does. Thus add a missing
header to the custom hacky include path (required for keeping
ICodecAPI visible when building in UWP mode, as it is intended to).

The issue in Windows SDK headers about ICodecAPI availability in
UWP/app mode has been reported upstream at
https://developercommunity.visualstudio.com/content/problem/1037125/icodecapi-not-visible-when-compiling-in-uwp-mode.html,
and later also filed in Feedback Hub (which can't be linked to
externally).

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/mf_utils.h