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. --- libmpdemux/stheader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmpdemux') diff --git a/libmpdemux/stheader.h b/libmpdemux/stheader.h index 469314b541..6ca9866ec3 100644 --- a/libmpdemux/stheader.h +++ b/libmpdemux/stheader.h @@ -85,7 +85,7 @@ typedef struct sh_video { unsigned int outfmtidx; struct vf_instance *vfilter; // the video filter chain, used for this video stream int output_flags; // query_format() results for output filters+vo - struct vd_functions *vd_driver; + const struct vd_functions *vd_driver; int vf_initialized; #ifdef DYNAMIC_PLUGINS void *dec_handle; -- cgit v1.2.3