mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 00:07:33 +00:00
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:
parent
11b55ec7a8
commit
8c21a0fd73
@ -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, ...);
|
||||
|
Loading…
Reference in New Issue
Block a user