[vlc-commits] dxva: remove unused dummy types

Steve Lhomme git at videolan.org
Thu Jun 6 12:09:19 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jun  6 11:07:06 2019 +0200| [34d4db632b069815ad5b7724166d084f265b3c3b] | committer: Steve Lhomme

dxva: remove unused dummy types

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=34d4db632b069815ad5b7724166d084f265b3c3b
---

 modules/codec/avcodec/directx_va.c     | 4 ----
 modules/codec/avcodec/dxva_blacklist.c | 5 -----
 2 files changed, 9 deletions(-)

diff --git a/modules/codec/avcodec/directx_va.c b/modules/codec/avcodec/directx_va.c
index 0111ed3c66..fd93aeec15 100644
--- a/modules/codec/avcodec/directx_va.c
+++ b/modules/codec/avcodec/directx_va.c
@@ -38,10 +38,6 @@
 #define D3D_DecoderType     IUnknown
 #define D3D_DecoderDevice   IUnknown
 #define D3D_DecoderSurface  IUnknown
-typedef struct
-{
-    void *dummy;
-} picture_sys_t;
 #include "directx_va.h"
 
 #include "avcodec.h"
diff --git a/modules/codec/avcodec/dxva_blacklist.c b/modules/codec/avcodec/dxva_blacklist.c
index 01618a5c88..a037aeb41e 100644
--- a/modules/codec/avcodec/dxva_blacklist.c
+++ b/modules/codec/avcodec/dxva_blacklist.c
@@ -33,11 +33,6 @@
 #define D3D_DecoderDevice   IUnknown
 #define D3D_DecoderSurface  IUnknown
 
-typedef struct
-{
-    void *dummy;
-} picture_sys_t;
-
 #include "directx_va.h"
 
 extern const GUID DXVA2_ModeMPEG2_VLD;



More information about the vlc-commits mailing list