summaryrefslogtreecommitdiffstats
path: root/libass
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-28 11:20:24 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-28 11:20:24 +0000
commit84157efa5ac4ee391e8615db69b07027428e331d (patch)
tree08118149c7d5e3cf022159765da3f0848da52164 /libass
parent2e2c64dd3adb225800b5bc42cff75cfca67071be (diff)
downloadmpv-84157efa5ac4ee391e8615db69b07027428e331d.tar.bz2
mpv-84157efa5ac4ee391e8615db69b07027428e331d.tar.xz
Clean up the way get_path is handled: Compile get_path.c to an object to link
against instead of directly #including the C file and replace the many extern declarations by a proper header file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24262 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass')
-rw-r--r--libass/ass_mp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libass/ass_mp.c b/libass/ass_mp.c
index 174e4ae3b9..0913cd7e53 100644
--- a/libass/ass_mp.c
+++ b/libass/ass_mp.c
@@ -23,6 +23,7 @@
#include <stdlib.h>
#include "mp_msg.h"
+#include "get_path.h"
#include "ass.h"
#include "ass_utils.h"
@@ -216,8 +217,6 @@ ass_track_t* ass_read_subdata(ass_library_t* library, sub_data* subdata, double
return track;
}
-char *get_path(char *);
-
void ass_configure(ass_renderer_t* priv, int w, int h, int unscaled) {
int hinting;
ass_set_frame_size(priv, w, h);