From 026f3a4d0d83e398c3a6543c171115d444a59afe Mon Sep 17 00:00:00 2001 From: eugeni Date: Thu, 29 May 2008 18:35:22 +0000 Subject: 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 --- libass/ass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libass') diff --git a/libass/ass.c b/libass/ass.c index c5323289a7..55a4a79b7f 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; -- cgit v1.2.3