[MPlayer-cvslog] r32109 - in trunk/libmenu: menu.h vf_menu.c

diego subversion at mplayerhq.hu
Thu Sep 9 12:39:08 CEST 2010


Author: diego
Date: Thu Sep  9 12:39:08 2010
New Revision: 32109

Log:
Mark vf_info_menu declaration as const.

Modified:
   trunk/libmenu/menu.h
   trunk/libmenu/vf_menu.c

Modified: trunk/libmenu/menu.h
==============================================================================
--- trunk/libmenu/menu.h	Thu Sep  9 12:30:58 2010	(r32108)
+++ trunk/libmenu/menu.h	Thu Sep  9 12:39:08 2010	(r32109)
@@ -32,7 +32,7 @@ extern int menu_startup;
 extern double menu_mouse_x;
 extern double menu_mouse_y;
 extern int menu_mouse_pos_updated;
-extern vf_info_t vf_info_menu;
+extern const vf_info_t vf_info_menu;
 
 struct menu_priv_s;
 typedef struct  menu_s menu_t;

Modified: trunk/libmenu/vf_menu.c
==============================================================================
--- trunk/libmenu/vf_menu.c	Thu Sep  9 12:30:58 2010	(r32108)
+++ trunk/libmenu/vf_menu.c	Thu Sep  9 12:39:08 2010	(r32109)
@@ -256,7 +256,7 @@ static int open_vf(vf_instance_t *vf, ch
 }
 
 
-vf_info_t vf_info_menu  = {
+const vf_info_t vf_info_menu  = {
   "Internal filter for libmenu",
   "menu",
   "Albeu",


More information about the MPlayer-cvslog mailing list