From 31db39d8ec9cd2b8df0123e2f2142a187733ecad Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Thu, 24 Apr 2008 08:43:56 +0300 Subject: Make video decoder description structs const This makes the per-decoder struct vd_functions and its ->info struct constants. Same for the mpcodecs_vd_drivers[] table of pointers to those structs. --- libmpcodecs/vd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmpcodecs/vd.c') diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c index f5d55be271..9d3a2bb066 100644 --- a/libmpcodecs/vd.c +++ b/libmpcodecs/vd.c @@ -47,7 +47,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 USE_LIBAVCODEC &mpcodecs_vd_ffmpeg, -- cgit v1.2.3