[MPlayer-cvslog] r30734 - in trunk/libmpcodecs: dec_video.c vd.c

reimar subversion at mplayerhq.hu
Thu Feb 25 23:23:58 CET 2010


Author: reimar
Date: Thu Feb 25 23:23:58 2010
New Revision: 30734

Log:
Add const to mpvdec declaration

Modified:
   trunk/libmpcodecs/dec_video.c
   trunk/libmpcodecs/vd.c

Modified: trunk/libmpcodecs/dec_video.c
==============================================================================
--- trunk/libmpcodecs/dec_video.c	Thu Feb 25 23:19:32 2010	(r30733)
+++ trunk/libmpcodecs/dec_video.c	Thu Feb 25 23:23:58 2010	(r30734)
@@ -57,7 +57,7 @@ int field_dominance=-1;
 
 int divx_quality=0;
 
-vd_functions_t* mpvdec=NULL;
+const vd_functions_t* mpvdec=NULL;
 
 int get_video_quality_max(sh_video_t *sh_video){
   vf_instance_t* vf=sh_video->vfilter;

Modified: trunk/libmpcodecs/vd.c
==============================================================================
--- trunk/libmpcodecs/vd.c	Thu Feb 25 23:19:32 2010	(r30733)
+++ trunk/libmpcodecs/vd.c	Thu Feb 25 23:23:58 2010	(r30734)
@@ -144,7 +144,7 @@ int vo_gamma_contrast = 1000;
 int vo_gamma_saturation = 1000;
 int vo_gamma_hue = 1000;
 
-extern vd_functions_t* mpvdec; // FIXME!
+extern const vd_functions_t* mpvdec; // FIXME!
 
 #define SCREEN_SIZE_X 1
 #define SCREEN_SIZE_Y 1


More information about the MPlayer-cvslog mailing list