[MPlayer-cvslog] r32858 - in trunk/sub: subreader.c subreader.h

cboesch subversion at mplayerhq.hu
Sat Feb 5 20:07:31 CET 2011


Author: cboesch
Date: Sat Feb  5 20:07:31 2011
New Revision: 32858

Log:
100l: fps are not in int but float, fix prototype.

Original patch by rodries/wiimc.org.

Modified:
   trunk/sub/subreader.c
   trunk/sub/subreader.h

Modified: trunk/sub/subreader.c
==============================================================================
--- trunk/sub/subreader.c	Sat Feb  5 20:05:02 2011	(r32857)
+++ trunk/sub/subreader.c	Sat Feb  5 20:07:31 2011	(r32858)
@@ -2060,7 +2060,7 @@ static void append_dir_subtitles(struct 
  * @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;

Modified: trunk/sub/subreader.h
==============================================================================
--- trunk/sub/subreader.h	Sat Feb  5 20:05:02 2011	(r32857)
+++ trunk/sub/subreader.h	Sat Feb  5 20:07:31 2011	(r32858)
@@ -97,7 +97,7 @@ void subcp_close (void); /* for demux_og
 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);


More information about the MPlayer-cvslog mailing list