diff libvo/font_load.h @ 18980:ed69754aa58d

Marks several string parameters as const when they are not modified in the function, Patch by Stefan Huehner, stefan AT huehner-org
author reynaldo
date Sun, 09 Jul 2006 17:45:36 +0000
parents f580a7755ac5
children d7c2e093e406
line wrap: on
line diff
--- a/libvo/font_load.h	Sun Jul 09 17:00:23 2006 +0000
+++ b/libvo/font_load.h	Sun Jul 09 17:45:36 2006 +0000
@@ -80,7 +80,7 @@
 int init_freetype(void);
 int done_freetype(void);
 
-font_desc_t* read_font_desc_ft(char* fname,int movie_width, int movie_height);
+font_desc_t* read_font_desc_ft(const char* fname,int movie_width, int movie_height);
 void free_font_desc(font_desc_t *desc);
 
 void render_one_glyph(font_desc_t *desc, int c);
@@ -96,6 +96,6 @@
 #endif
 
 raw_file* load_raw(char *name,int verbose);
-font_desc_t* read_font_desc(char* fname,float factor,int verbose);
+font_desc_t* read_font_desc(const char* fname,float factor,int verbose);
 
 #endif /* ! __MPLAYER_FONT_LOAD_H */