From 25f353346daf079a2f2ae1b993b576dca9712a7d Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 25 Feb 2010 22:23:58 +0000 Subject: [PATCH] Add const to mpvdec declaration git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30734 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/dec_video.c | 2 +- libmpcodecs/vd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c index 3572565556..44fb2b3d22 100644 --- a/libmpcodecs/dec_video.c +++ b/libmpcodecs/dec_video.c @@ -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; diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c index 49acaf9315..096de92806 100644 --- a/libmpcodecs/vd.c +++ b/libmpcodecs/vd.c @@ -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