mirror of https://github.com/mpv-player/mpv
Add some "const" to mpcodecs_vd_drivers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28861 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
aaa937e798
commit
6cf4aafa36
|
@ -53,7 +53,7 @@ extern vd_functions_t mpcodecs_vd_qtvideo;
|
|||
* decoder, add it to libavcodec, except for wrappers around external
|
||||
* libraries and decoders requiring binary support. */
|
||||
|
||||
vd_functions_t* mpcodecs_vd_drivers[] = {
|
||||
const vd_functions_t * const mpcodecs_vd_drivers[] = {
|
||||
&mpcodecs_vd_null,
|
||||
#ifdef CONFIG_LIBAVCODEC
|
||||
&mpcodecs_vd_ffmpeg,
|
||||
|
|
|
@ -18,7 +18,7 @@ typedef struct vd_functions_s
|
|||
} vd_functions_t;
|
||||
|
||||
// NULL terminated array of all drivers
|
||||
extern vd_functions_t* mpcodecs_vd_drivers[];
|
||||
extern const vd_functions_t * const mpcodecs_vd_drivers[];
|
||||
|
||||
extern int vd_use_slices;
|
||||
|
||||
|
|
Loading…
Reference in New Issue