From 3dec68ba4758f6ce4ea598c40095338b41b8f433 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 30 Oct 2015 09:41:55 +0100 Subject: 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. --- video/decode/vd_lavc.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'video/decode/vd_lavc.c') diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index 91569b99f3..cdd0dd8884 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -118,12 +118,12 @@ const struct m_sub_options vd_lavc_conf = { }, }; -const struct vd_lavc_hwdec mp_vd_lavc_vdpau; -const struct vd_lavc_hwdec mp_vd_lavc_videotoolbox; -const struct vd_lavc_hwdec mp_vd_lavc_vaapi; -const struct vd_lavc_hwdec mp_vd_lavc_vaapi_copy; -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_vdpau; +extern const struct vd_lavc_hwdec mp_vd_lavc_videotoolbox; +extern const struct vd_lavc_hwdec mp_vd_lavc_vaapi; +extern const struct vd_lavc_hwdec mp_vd_lavc_vaapi_copy; +extern const struct vd_lavc_hwdec mp_vd_lavc_dxva2_copy; +extern const struct vd_lavc_hwdec mp_vd_lavc_rpi; static const struct vd_lavc_hwdec *const hwdec_list[] = { #if HAVE_RPI -- cgit v1.2.3