]> granicus.if.org Git - libass/commitdiff
Clean up the way get_path is handled: Compile get_path.c to an object to link
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>
Tue, 28 Aug 2007 11:20:24 +0000 (11:20 +0000)
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>
Tue, 28 Aug 2007 11:20:24 +0000 (11:20 +0000)
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

libass/ass_mp.c

index 174e4ae3b91cb2483c292bcb60d2d4f8b34d3508..0913cd7e53be6f59ba84128f0963a74a0c901f8c 100644 (file)
@@ -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);