[vlc-commits] [Git][videolan/vlc][master] mft: fix compilation with MSVC

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Dec 18 07:37:35 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
0b52ff3a by Steve Lhomme at 2023-12-17T15:27:29+00:00
mft: fix compilation with MSVC

An interface is a struct, not a class.

- - - - -


1 changed file:

- modules/codec/mft_d3d.h


Changes:

=====================================
modules/codec/mft_d3d.h
=====================================
@@ -33,9 +33,9 @@
 #define IGraphicsUnknown IUnknown
 #endif // !_GAMING_XBOX_XBOXONE && !_GAMING_XBOX_XBOXONE
 
-class IMFTransform;
-class IMFDXGIDeviceManager;
-class IMFDXGIBuffer;
+struct IMFTransform;
+struct IMFDXGIDeviceManager;
+struct IMFDXGIBuffer;
 
 struct vlc_logger;
 struct picture_context_t;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0b52ff3a9fdefaacff059227dfeeb86624712afc

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0b52ff3a9fdefaacff059227dfeeb86624712afc
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list