diff sub/subreader.h @ 32642:7b135236a44a

Factorize subtitles loading between mplayer and mencoder.
author cboesch
date Fri, 24 Dec 2010 23:02:24 +0000
parents 69d3be4d52a2
children 732cd2afae10
line wrap: on
line diff
--- a/sub/subreader.h	Thu Dec 23 18:20:51 2010 +0000
+++ b/sub/subreader.h	Fri Dec 24 23:02:24 2010 +0000
@@ -94,7 +94,7 @@
 const char* guess_buffer_cp(unsigned char* buffer, int buflen, const char *preferred_language, const char *fallback);
 const char* guess_cp(struct stream *st, const char *preferred_language, const char *fallback);
 #endif
-char ** sub_filenames(const char *path, char *fname);
+void load_subtitles(const char *fname, int fps, void add_f(char *, float, int));
 void list_sub_file(sub_data* subd);
 void dump_srt(sub_data* subd, float fps);
 void dump_mpsub(sub_data* subd, float fps);