changeset 32771:0b4acbbe9652

100l: fps are not in int but float, fix prototype. Original patch by rodries/wiimc.org.
author cboesch
date Sat, 05 Feb 2011 19:07:31 +0000
parents 5f64b983624a
children 87a44fc0f23d
files sub/subreader.c sub/subreader.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sub/subreader.c	Sat Feb 05 19:05:02 2011 +0000
+++ b/sub/subreader.c	Sat Feb 05 19:07:31 2011 +0000
@@ -2060,7 +2060,7 @@
  * @note Subtitles are tracked and scored in various places according to the
  *       user options, sorted, and then added by calling the add_f function.
  */
-void load_subtitles(const char *fname, int fps, open_sub_func add_f)
+void load_subtitles(const char *fname, float fps, open_sub_func add_f)
 {
     int i;
     char *mp_subdir, *path = NULL;
--- a/sub/subreader.h	Sat Feb 05 19:05:02 2011 +0000
+++ b/sub/subreader.h	Sat Feb 05 19:07:31 2011 +0000
@@ -97,7 +97,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
-void load_subtitles(const char *fname, int fps, open_sub_func add_f);
+void load_subtitles(const char *fname, float fps, open_sub_func add_f);
 void load_vob_subtitle(const char *fname, const char * const spudec_ifo, void **spu, open_vob_func add_f);
 void list_sub_file(sub_data* subd);
 void dump_srt(sub_data* subd, float fps);