summaryrefslogtreecommitdiffstats
path: root/libvo/font_load.h
diff options
context:
space:
mode:
authorreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-09 17:45:36 +0000
committerreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-09 17:45:36 +0000
commit4728357b58f053c28abf9bfb5e938f4dc7556790 (patch)
tree0e80eb644c6dbd42b3a1f937821f32a39e6b939d /libvo/font_load.h
parent2efd5b393de605e5e94123ce421e7c52e84a9faa (diff)
downloadmpv-4728357b58f053c28abf9bfb5e938f4dc7556790.tar.bz2
mpv-4728357b58f053c28abf9bfb5e938f4dc7556790.tar.xz
Marks several string parameters as const when they are not modified in the function, Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18985 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/font_load.h')
-rw-r--r--libvo/font_load.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/font_load.h b/libvo/font_load.h
index b125b9db7b..629dcd336c 100644
--- a/libvo/font_load.h
+++ b/libvo/font_load.h
@@ -80,7 +80,7 @@ extern int force_load_font;
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 @@ static int kerning(font_desc_t *desc, int prevc, int c) { return 0; }
#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 */