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
This commit is contained in:
reimar 2010-02-14 10:58:01 +00:00
parent 11b55ec7a8
commit 8c21a0fd73
1 changed files with 1 additions and 1 deletions

View File

@ -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, ...);