diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-02 14:24:23 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-02 14:24:23 +0000 |
commit | 844c8ffc48c7e7715c43a1290188f5bdfa289821 (patch) | |
tree | 84f08c54b7cce8b02b146221488939235da9fe28 /libmpcodecs | |
parent | bbab104b7e5238c510f51a8e671b3d8f4fcbfa0a (diff) | |
download | mpv-844c8ffc48c7e7715c43a1290188f5bdfa289821.tar.bz2 mpv-844c8ffc48c7e7715c43a1290188f5bdfa289821.tar.xz |
Mark several uses of vo_functions_t as const to stop some of the current
hacks e.g. in vidix code from spreading.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25247 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vf_vo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vf_vo.c b/libmpcodecs/vf_vo.c index fc1ca92d42..4c3f7508ac 100644 --- a/libmpcodecs/vf_vo.c +++ b/libmpcodecs/vf_vo.c @@ -23,7 +23,7 @@ extern float sub_delay; struct vf_priv_s { double pts; - vo_functions_t *vo; + const vo_functions_t *vo; #ifdef USE_ASS ass_renderer_t* ass_priv; int prev_visibility; @@ -222,7 +222,7 @@ static int open(vf_instance_t *vf, char* args){ vf->start_slice=start_slice; vf->uninit=uninit; vf->priv=calloc(1, sizeof(struct vf_priv_s)); - vf->priv->vo = (vo_functions_t *)args; + vf->priv->vo = (const vo_functions_t *)args; if(!video_out) return 0; // no vo ? // if(video_out->preinit(args)) return 0; // preinit failed return 1; |