diff options
author | wm4 <wm4@nowhere> | 2015-10-30 09:41:55 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-30 09:41:55 +0100 |
commit | 3dec68ba4758f6ce4ea598c40095338b41b8f433 (patch) | |
tree | b8a04c44e8df20fdb49628ae824f0c6f54aebf54 /video/decode | |
parent | d5b8d77a178af392dbfa7b4df2e90c6682398907 (diff) | |
download | mpv-3dec68ba4758f6ce4ea598c40095338b41b8f433.tar.bz2 mpv-3dec68ba4758f6ce4ea598c40095338b41b8f433.tar.xz |
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.
Diffstat (limited to 'video/decode')
-rw-r--r-- | video/decode/vd_lavc.c | 12 |
1 files changed, 6 insertions, 6 deletions
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 |