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
1 changed files with 1 additions and 1 deletions

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;