changeset 30692:3774cf3c7df3

Add const to mpvdec declaration
author reimar
date Thu, 25 Feb 2010 22:23:58 +0000
parents f73aca2453a3
children ce392deeb0a6
files libmpcodecs/dec_video.c libmpcodecs/vd.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/dec_video.c	Thu Feb 25 22:19:32 2010 +0000
+++ b/libmpcodecs/dec_video.c	Thu Feb 25 22:23:58 2010 +0000
@@ -57,7 +57,7 @@
 
 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;
--- a/libmpcodecs/vd.c	Thu Feb 25 22:19:32 2010 +0000
+++ b/libmpcodecs/vd.c	Thu Feb 25 22:23:58 2010 +0000
@@ -144,7 +144,7 @@
 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