[MPlayer-cvslog] r27531 - in trunk/libass: ass.c ass.h

aurel subversion at mplayerhq.hu
Sat Sep 6 00:59:02 CEST 2008


Author: aurel
Date: Sat Sep  6 00:59:01 2008
New Revision: 27531

Log:
libass: fix type mismatch between size parameter and the way it's used


Modified:
   trunk/libass/ass.c
   trunk/libass/ass.h

Modified: trunk/libass/ass.c
==============================================================================
--- trunk/libass/ass.c	(original)
+++ trunk/libass/ass.c	Sat Sep  6 00:59:01 2008
@@ -1021,7 +1021,7 @@ ass_track_t* ass_read_memory(ass_library
 	return track;
 }
 
-char* read_file_recode(char* fname, char* codepage, int* size)
+char* read_file_recode(char* fname, char* codepage, size_t* size)
 {
 	char* buf;
 	size_t bufsize;

Modified: trunk/libass/ass.h
==============================================================================
--- trunk/libass/ass.h	(original)
+++ trunk/libass/ass.h	Sat Sep  6 00:59:01 2008
@@ -179,7 +179,7 @@ void ass_process_codec_private(ass_track
 */
 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);
+char* read_file_recode(char* fname, char* codepage, size_t* size);
 
 /**
  * \brief Read subtitles from file.



More information about the MPlayer-cvslog mailing list