From 4939caa691ee0e53a95cb3231984f09c06002e40 Mon Sep 17 00:00:00 2001 From: eugeni Date: Fri, 1 Jun 2007 19:56:44 +0000 Subject: Move code for reading a file and recoding it to utf-8 to a separate function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23442 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libass/ass.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libass/ass.h') diff --git a/libass/ass.h b/libass/ass.h index 2e1aa1ab96..fb66b20420 100644 --- a/libass/ass.h +++ b/libass/ass.h @@ -162,6 +162,8 @@ void ass_process_codec_private(ass_track_t* track, char *data, int size); */ void ass_process_chunk(ass_track_t* track, char *data, int size, long long timecode, long long duration); +char* read_file_recode(char* fname, char* codepage, int* size); + /** * \brief Read subtitles from file. * \param fname file name -- cgit v1.2.3