From 6cf4aafa36a609b02d5cf106b88cc8b79b9bd9d4 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 6 Mar 2009 20:20:12 +0000 Subject: Add some "const" to mpcodecs_vd_drivers git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28861 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd.c | 2 +- libmpcodecs/vd.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libmpcodecs') 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; -- cgit v1.2.3