# HG changeset patch # User reimar # Date 1266145081 0 # Node ID 290e478b07cd24fe78a02be859947436a6639f5e # Parent f4e017b6921abe89b99a24440871c1e873b587ff Make vd_info_t const for pointer in vd_functions, avoids some warnings about initialization discarding the const. diff -r f4e017b6921a -r 290e478b07cd libmpcodecs/vd.h --- a/libmpcodecs/vd.h Sun Feb 14 10:53:20 2010 +0000 +++ b/libmpcodecs/vd.h Sun Feb 14 10:58:01 2010 +0000 @@ -28,7 +28,7 @@ /* 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, ...);