0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

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:
eugeni 2008-05-29 18:35:22 +00:00
parent db616d5222
commit 026f3a4d0d

View File

@ -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;