[vlc-commits] directx-va: directx_va_mode_t is only used in directx_va.c

Steve Lhomme git at videolan.org
Fri Jun 5 22:45:59 CEST 2015


vlc | branch: master | Steve Lhomme <robux4 at gmail.com> | Mon Jun  1 14:49:47 2015 +0200| [ad0b948a9c2653d12818d1273210b5c20ec8a56f] | committer: Jean-Baptiste Kempf

directx-va: directx_va_mode_t is only used in directx_va.c

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/codec/avcodec/directx_va.c |    7 +++++++
 modules/codec/avcodec/directx_va.h |    7 -------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/modules/codec/avcodec/directx_va.c b/modules/codec/avcodec/directx_va.c
index 45644e6..fdc0092 100644
--- a/modules/codec/avcodec/directx_va.c
+++ b/modules/codec/avcodec/directx_va.c
@@ -139,6 +139,13 @@ DEFINE_GUID(DXVA_ModeH263_D,                        0x1b81be06, 0xa0c7, 0x11d3,
 DEFINE_GUID(DXVA_ModeH263_E,                        0x1b81be07, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5);
 DEFINE_GUID(DXVA_ModeH263_F,                        0x1b81be08, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5);
 
+typedef struct {
+    const char   *name;
+    const GUID   *guid;
+    int          codec;
+    const int    *p_profiles; // NULL or ends with 0
+} directx_va_mode_t;
+
 /* XXX Prefered modes must come first */
 static const directx_va_mode_t DXVA_MODES[] = {
     /* MPEG-1/2 */
diff --git a/modules/codec/avcodec/directx_va.h b/modules/codec/avcodec/directx_va.h
index 7838bf4..8117e04 100644
--- a/modules/codec/avcodec/directx_va.h
+++ b/modules/codec/avcodec/directx_va.h
@@ -41,13 +41,6 @@
 
 #include <unknwn.h>
 
-typedef struct {
-    const char   *name;
-    const GUID   *guid;
-    int          codec;
-    const int    *p_profiles; // NULL or ends with 0
-} directx_va_mode_t;
-
 /* */
 typedef struct {
     int                refcount;



More information about the vlc-commits mailing list