mirror of https://github.com/mpv-player/mpv
vd_lavc: fix declarations
Fixes linker failure. How did this ever work? Apparently it did most of the time, but apparently we just got the first case where it didn't. Fixes #2433.
This commit is contained in:
parent
d5b8d77a17
commit
3dec68ba47
|
@ -118,12 +118,12 @@ const struct m_sub_options vd_lavc_conf = {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct vd_lavc_hwdec mp_vd_lavc_vdpau;
|
extern const struct vd_lavc_hwdec mp_vd_lavc_vdpau;
|
||||||
const struct vd_lavc_hwdec mp_vd_lavc_videotoolbox;
|
extern const struct vd_lavc_hwdec mp_vd_lavc_videotoolbox;
|
||||||
const struct vd_lavc_hwdec mp_vd_lavc_vaapi;
|
extern const struct vd_lavc_hwdec mp_vd_lavc_vaapi;
|
||||||
const struct vd_lavc_hwdec mp_vd_lavc_vaapi_copy;
|
extern const struct vd_lavc_hwdec mp_vd_lavc_vaapi_copy;
|
||||||
const struct vd_lavc_hwdec mp_vd_lavc_dxva2_copy;
|
extern const struct vd_lavc_hwdec mp_vd_lavc_dxva2_copy;
|
||||||
const struct vd_lavc_hwdec mp_vd_lavc_rpi;
|
extern const struct vd_lavc_hwdec mp_vd_lavc_rpi;
|
||||||
|
|
||||||
static const struct vd_lavc_hwdec *const hwdec_list[] = {
|
static const struct vd_lavc_hwdec *const hwdec_list[] = {
|
||||||
#if HAVE_RPI
|
#if HAVE_RPI
|
||||||
|
|
Loading…
Reference in New Issue