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:
reimar 2009-03-06 20:20:12 +00:00
parent aaa937e798
commit 6cf4aafa36
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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;