diff options
-rw-r--r-- | libmpcodecs/vd.c | 2 | ||||
-rw-r--r-- | libmpcodecs/vd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c index 4ebb01e179..b47f85357b 100644 --- a/libmpcodecs/vd.c +++ b/libmpcodecs/vd.c @@ -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, diff --git a/libmpcodecs/vd.h b/libmpcodecs/vd.h index a3d77339c4..f05241b49e 100644 --- a/libmpcodecs/vd.h +++ b/libmpcodecs/vd.h @@ -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; |