[MPlayer-cvslog] r30559 - trunk/libmpcodecs/vd.h
reimar
subversion at mplayerhq.hu
Sun Feb 14 11:58:01 CET 2010
Author: reimar
Date: Sun Feb 14 11:58:01 2010
New Revision: 30559
Log:
Make vd_info_t const for pointer in vd_functions, avoids some warnings about
initialization discarding the const.
Modified:
trunk/libmpcodecs/vd.h
Modified: trunk/libmpcodecs/vd.h
==============================================================================
--- trunk/libmpcodecs/vd.h Sun Feb 14 11:53:20 2010 (r30558)
+++ trunk/libmpcodecs/vd.h Sun Feb 14 11:58:01 2010 (r30559)
@@ -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, ...);
More information about the MPlayer-cvslog
mailing list