changeset 30517:290e478b07cd

Make vd_info_t const for pointer in vd_functions, avoids some warnings about initialization discarding the const.
author reimar
date Sun, 14 Feb 2010 10:58:01 +0000
parents f4e017b6921a
children 654cad7ea876
files libmpcodecs/vd.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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, ...);