vout: win32: direct3d11: fixup of d1e7dc1
authorFilip Roséen <filip@atch.se>
Tue, 31 Jul 2018 09:58:29 +0000 (11:58 +0200)
committerSteve Lhomme <robux4@ycbcr.xyz>
Wed, 1 Aug 2018 13:16:22 +0000 (15:16 +0200)
commitdf51fffb3bda34c22a3c74f3c17f740a552a33ed
tree4bf701b2ebacf1962b1617128f146102aaf2c426
parenta70ba8fa00cad6b5b737c5fce2b4e14f0f2331c2
vout: win32: direct3d11: fixup of d1e7dc1

As d1e7dc1 explicitly adds copying of the relevant fmt after the
function is called, the function itself should not be part of such
copying (to make matters worse, shallow copy is unsafe as the struct
may contain pointers to dynamically allocated resources).

fixes: #20487

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
modules/video_output/win32/direct3d11.c