]> git.sesse.net Git - vlc/blobdiff - src/osd/osd_text.c
Use const char* when needed (easier to understand if a function will try to grab...
[vlc] / src / osd / osd_text.c
index ddc3dd10ff30de923d9bac7503ed92021fb13015..2c7a1c557939d6ec570e9623e339a8fd3d3dcd60 100644 (file)
@@ -42,7 +42,7 @@
  * \param i_duration Amount of time the text is to be shown.
  */
 int osd_ShowTextRelative( spu_t *p_spu, int i_channel,
-                           char *psz_string, text_style_t *p_style,
+                           const char *psz_string, text_style_t *p_style,
                            int i_flags, int i_hmargin, int i_vmargin,
                            mtime_t i_duration )
 {
@@ -68,7 +68,7 @@ int osd_ShowTextRelative( spu_t *p_spu, int i_channel,
  *               is about to be shown
  */
 int osd_ShowTextAbsolute( spu_t *p_spu_channel, int i_channel,
-                           char *psz_string, text_style_t *p_style,
+                           const char *psz_string, text_style_t *p_style,
                            int i_flags, int i_hmargin, int i_vmargin,
                            mtime_t i_start, mtime_t i_stop )
 {