[MPlayer-cvslog] r26924 - trunk/libass/ass.c

eugeni subversion at mplayerhq.hu
Thu May 29 20:35:23 CEST 2008


Author: eugeni
Date: Thu May 29 20:35:22 2008
New Revision: 26924

Log:
The size of output buffer is stored in 'osize', not 'size'.

This is just for readability, the code behaviour is not changed.


Modified:
   trunk/libass/ass.c

Modified: trunk/libass/ass.c
==============================================================================
--- trunk/libass/ass.c	(original)
+++ trunk/libass/ass.c	Thu May 29 20:35:22 2008
@@ -848,7 +848,7 @@ static char* sub_recode(char* data, size
 		size_t rc;
 		int clear = 0;
 		
-		outbuf = malloc(size);
+		outbuf = malloc(osize);
 		ip = data;
 		op = outbuf;
 		



More information about the MPlayer-cvslog mailing list