[MPlayer-cvslog] r35216 - in trunk/sub: ass_mp.c ass_mp.h
reimar
subversion at mplayerhq.hu
Wed Sep 26 22:05:00 CEST 2012
Author: reimar
Date: Wed Sep 26 22:05:00 2012
New Revision: 35216
Log:
Make two functions static.
Modified:
trunk/sub/ass_mp.c
trunk/sub/ass_mp.h
Modified: trunk/sub/ass_mp.c
==============================================================================
--- trunk/sub/ass_mp.c Wed Sep 26 19:02:47 2012 (r35215)
+++ trunk/sub/ass_mp.c Wed Sep 26 22:05:00 2012 (r35216)
@@ -257,7 +257,7 @@ ASS_Track* ass_read_stream(ASS_Library*
return track;
}
-void ass_configure(ASS_Renderer* priv, int w, int h, int unscaled) {
+static void ass_configure(ASS_Renderer* priv, int w, int h, int unscaled) {
int hinting;
ass_set_frame_size(priv, w, h);
ass_set_margins(priv, ass_top_margin, ass_bottom_margin, 0, 0);
@@ -271,7 +271,7 @@ void ass_configure(ASS_Renderer* priv, i
ass_set_line_spacing(priv, ass_line_spacing);
}
-void ass_configure_fonts(ASS_Renderer* priv) {
+static void ass_configure_fonts(ASS_Renderer* priv) {
char *dir, *path, *family;
dir = get_path("fonts");
if (font_fontconfig < 0 && sub_font_name) path = strdup(sub_font_name);
Modified: trunk/sub/ass_mp.h
==============================================================================
--- trunk/sub/ass_mp.h Wed Sep 26 19:02:47 2012 (r35215)
+++ trunk/sub/ass_mp.h Wed Sep 26 22:05:00 2012 (r35216)
@@ -50,8 +50,6 @@ int ass_process_subtitle(ASS_Track* trac
ASS_Track* ass_read_subdata(ASS_Library* library, sub_data* subdata, double fps);
ASS_Track* ass_read_stream(ASS_Library* library, const char *fname, char *charset);
-void ass_configure(ASS_Renderer* priv, int w, int h, int hinting);
-void ass_configure_fonts(ASS_Renderer* priv);
void ass_mp_reset_config(ASS_Library *l);
ASS_Library* ass_init(void);
More information about the MPlayer-cvslog
mailing list