mirror of https://github.com/mpv-player/mpv
The size of output buffer is stored in 'osize', not 'size'.
This is just for readability, the code behaviour is not changed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26924 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
db616d5222
commit
026f3a4d0d
|
@ -848,7 +848,7 @@ static char* sub_recode(char* data, size_t size, char* codepage)
|
|||
size_t rc;
|
||||
int clear = 0;
|
||||
|
||||
outbuf = malloc(size);
|
||||
outbuf = malloc(osize);
|
||||
ip = data;
|
||||
op = outbuf;
|
||||
|
||||
|
|
Loading…
Reference in New Issue