[vlc-devel] [PATCH] directx-va: directx_va_mode_t is only used in directx_va.c
Steve Lhomme
robux4 at gmail.com
Mon Jun 1 14:49:47 CEST 2015
---
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;
--
2.4.0
More information about the vlc-devel
mailing list