d3d11va: Link directly to dxgi.dll and d3d11.dll functions if LoadLibrary is unavailable
authorMartin Storsjö <martin@martin.st>
Fri, 9 Jun 2017 09:05:00 +0000 (12:05 +0300)
committerwm4 <nfxjfg@googlemail.com>
Tue, 27 Jun 2017 16:05:02 +0000 (18:05 +0200)
commit3125a4a8a8fc7dde938bff6a668f53b26bf47860
tree012194e1b0cf235413d5d26b7a0ded934d754675
parent70143a3954e1c4412efb2bf1a3a818adea2d3abf
d3d11va: Link directly to dxgi.dll and d3d11.dll functions if LoadLibrary is unavailable

When targeting the UWP API subset, the LoadLibrary function is not
available (and the fallback, LoadPackagedLibrary, can't be used to
load system DLLs). In these cases, link directly to the functions
in the DLLs instead of trying to load them dynamically at runtime.

Merges Libav commit fd1ffa1f10e940165035ccb79d4a6523da196062.

Signed-off-by: Martin Storsjö <martin@martin.st>
configure
libavutil/hwcontext_d3d11va.c