summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/vd.h')
-rw-r--r--libmpcodecs/vd.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libmpcodecs/vd.h b/libmpcodecs/vd.h
index f05241b49e..df71970f7d 100644
--- a/libmpcodecs/vd.h
+++ b/libmpcodecs/vd.h
@@ -8,9 +8,9 @@
typedef mp_codec_info_t vd_info_t;
/* interface of video decoder drivers */
-typedef struct vd_functions_s
+typedef struct vd_functions
{
- vd_info_t *info;
+ const vd_info_t *info;
int (*init)(sh_video_t *sh);
void (*uninit)(sh_video_t *sh);
int (*control)(sh_video_t *sh,int cmd,void* arg, ...);
@@ -20,8 +20,6 @@ typedef struct vd_functions_s
// NULL terminated array of all drivers
extern const vd_functions_t * const mpcodecs_vd_drivers[];
-extern int vd_use_slices;
-
#define VDCTRL_QUERY_FORMAT 3 /* test for availabilty of a format */
#define VDCTRL_QUERY_MAX_PP_LEVEL 4 /* test for postprocessing support (max level) */
#define VDCTRL_SET_PP_LEVEL 5 /* set postprocessing level */