From: eugeni Date: Thu, 29 May 2008 18:35:22 +0000 (+0000) Subject: The size of output buffer is stored in 'osize', not 'size'. X-Git-Tag: 0.9.7~192 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b0c7fbebbae5797500dc5bd3fb2c1285dbcc092;p=libass 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 --- diff --git a/libass/ass.c b/libass/ass.c index c532328..55a4a79 100644 --- a/libass/ass.c +++ b/libass/ass.c @@ -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;