From 844c8ffc48c7e7715c43a1290188f5bdfa289821 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 2 Dec 2007 14:24:23 +0000 Subject: 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 --- libmenu/vf_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmenu') diff --git a/libmenu/vf_menu.c b/libmenu/vf_menu.c index 5c8a2bf2a1..a707a8d476 100644 --- a/libmenu/vf_menu.c +++ b/libmenu/vf_menu.c @@ -44,7 +44,7 @@ struct vf_priv_s { static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts); void vf_menu_pause_update(struct vf_instance_s* vf) { - vo_functions_t *video_out = mpctx_get_video_out(vf->priv->current->ctx); + const vo_functions_t *video_out = mpctx_get_video_out(vf->priv->current->ctx); if(pause_mpi) { put_image(vf,pause_mpi, MP_NOPTS_VALUE); // Don't draw the osd atm -- cgit v1.2.3