From 8c21a0fd736a25e6ee2477a76d4fdf4474f6bd1e Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 14 Feb 2010 10:58:01 +0000 Subject: [PATCH] Make vd_info_t const for pointer in vd_functions, avoids some warnings about initialization discarding the const. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30559 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpcodecs/vd.h b/libmpcodecs/vd.h index b033513664..65c24f9714 100644 --- a/libmpcodecs/vd.h +++ b/libmpcodecs/vd.h @@ -28,7 +28,7 @@ typedef mp_codec_info_t vd_info_t; /* interface of video decoder drivers */ typedef struct vd_functions_s { - vd_info_t *info; + const vd_info_t *info; int (*init)(sh_video_t *sh); void (*uninit)(sh_video_t *sh); int (*control)(sh_video_t *sh,int cmd,void* arg, ...);