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:
parent
81058d5af2
commit
11d6f1fd2d
@ -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;
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user