1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-03 05:22:23 +00:00

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

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27531 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
aurel 2008-09-05 22:59:01 +00:00
parent 81058d5af2
commit 11d6f1fd2d
2 changed files with 2 additions and 2 deletions

View File

@ -1021,7 +1021,7 @@ ass_track_t* ass_read_memory(ass_library_t* library, char* buf, size_t bufsize,
return track; 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; char* buf;
size_t bufsize; size_t bufsize;

View File

@ -179,7 +179,7 @@ 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); 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. * \brief Read subtitles from file.